Rancher Fleet
0.8Schema URL
The driving file of a Fleet bundle
Properties
The default namespace to be applied to resources. This field is not used to enforce or lock down the deployment to a specific namespace, but instead provide the default value of the namespace field if one is not specified in the manifests. Default: default
An array of dependencies to other Bundles.
An array of diff options to consider when comparing the current state of the bundle to the desired one.
1 nested properties
An array of compare patches; how the diff should be calculated and eventually ignored. See ref: https://fleet.rancher.io/next/ref-crds#comparepatch
14 nested properties
Set the Helm --atomic flag when upgrading. Default: false
Use a custom location for the Helm chart. This can refer to any go-getter URL, OCI registry based helm chart URL e.g. "oci://ghcr.io/fleetrepoci/guestbook" or a local/remote tgz file. This allows one to download charts from most any location. Also know that go-getter URL supports adding a digest to validate the download. If repo is set below this field is the name of the chart to lookup
Disable go template pre-processing on the fleet values. Default: false
Set the Helm --force flag when upgrading. This could be dangerous (sic). Default: false
Set the Helm --max-history flag when upgrading
A custom release name to deploy the chart as. If not specified a release name will be generated by combining the invoking GitRepo.name + GitRepo.path
A https URL to a Helm repo to download the chart from. If repo is used the value of chart will be used as the chart name to lookup in the Helm repository
Makes helm skip the check for its own annotations. Default: false
Set the Helm --timeout flag when upgrading.
Any values that should be placed in the values.yaml and passed to helm during install. Cluster labels can also be used here, see https://fleet.rancher.io/next/gitrepo-structure#reference for more info
Path to any values files that need to be passed to helm during install
An array of of configmap or secrets references defined in the downstream clusters to get values for the chart.
The version of the chart or semver constraint of the chart to find. If a constraint is specified it is evaluated each time git changes. The version also determines which chart to download from OCI registries
Wait for all jobs to complete before marking the GitRepo as ready. A timeoutSeconds duration must be set when using. Default: true
1 nested properties
Custom folder for kustomize resources. This folder must contain a kustomization.yaml file. Path is relative to repository root
Labels to apply to the bundle. These labels can be used to select bundles by using the dependsOn keyword
All resources will be assigned to this namespace and if any cluster scoped resource exists the deployment will fail. Default: ""
Annotations to apply to the namespace created by Fleet
Labels to apply to the namespace created by Fleet
A paused bundle will not update downstream clusters but instead mark the bundle as OutOfSync. One can then manually confirm that a bundle should be deployed to the downstream clusters. Default: false
4 nested properties
A number of percentage of how to automatically partition clusters if not specific partitioning strategy is configured. Default: 25%
A number or percentage of clusters that can be unavailable during an update of a bundle. This follows the same basic approach as a deployment rollout strategy. Once the number of clusters meets unavailable state update will be paused. Default value is 100% which doesn't take effect on update. Default: 100%
A number or percentage of cluster partitions that can be unavailable during an update of a bundle. Default: 0
An array of definitions of partitions. If any target clusters do not match the configuration they are added to partitions at the end following the autoPartitionSize
The Service account which will be used for the BundleDeployments. Default: ""
Target customization are used to determine how resources should be modified per target. Targets are evaluated in order and the first one to match a cluster is used for that cluster
ImageScans is An array of images repositories to scan for, so the corresponding repositories may be automatically updated with the specified image
Ignore options when monitoring a Bundle. This can be used when Fleet thinks some conditions in Custom Resources makes the Bundle to be in an error state when it shouldn't.
1 nested properties
Conditions to be ignored
Override targets defined in the GitRepo. The Bundle will not have any targets from the GitRepo if overrideTargets is provided.
Definitions
A selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty selector matches all objects
matchExpressions is An array of label selector requirements. The requirements are ANDed
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed
An array of diff options to consider when comparing the current state of the bundle to the desired one.
An array of compare patches; how the diff should be calculated and eventually ignored. See ref: https://fleet.rancher.io/next/ref-crds#comparepatch
Set the Helm --atomic flag when upgrading. Default: false
Use a custom location for the Helm chart. This can refer to any go-getter URL, OCI registry based helm chart URL e.g. "oci://ghcr.io/fleetrepoci/guestbook" or a local/remote tgz file. This allows one to download charts from most any location. Also know that go-getter URL supports adding a digest to validate the download. If repo is set below this field is the name of the chart to lookup
Disable go template pre-processing on the fleet values. Default: false
Set the Helm --force flag when upgrading. This could be dangerous (sic). Default: false
Set the Helm --max-history flag when upgrading
A custom release name to deploy the chart as. If not specified a release name will be generated by combining the invoking GitRepo.name + GitRepo.path
A https URL to a Helm repo to download the chart from. If repo is used the value of chart will be used as the chart name to lookup in the Helm repository
Makes helm skip the check for its own annotations. Default: false
Set the Helm --timeout flag when upgrading.
Any values that should be placed in the values.yaml and passed to helm during install. Cluster labels can also be used here, see https://fleet.rancher.io/next/gitrepo-structure#reference for more info
Path to any values files that need to be passed to helm during install
An array of of configmap or secrets references defined in the downstream clusters to get values for the chart.
The version of the chart or semver constraint of the chart to find. If a constraint is specified it is evaluated each time git changes. The version also determines which chart to download from OCI registries
Wait for all jobs to complete before marking the GitRepo as ready. A timeoutSeconds duration must be set when using. Default: true
Custom folder for kustomize resources. This folder must contain a kustomization.yaml file. Path is relative to repository root