Kustomization.spec
KustomizationSpec defines the desired state of a kustomization.
| Field / Type | Description |
|---|---|
Decrypt Kubernetes secrets before applying them on the cluster. | |
DependsOn may contain a dependency.CrossNamespaceDependencyReference slice with references to Kustomization resources that must be ready before this Kustomization can be reconciled. | |
force | Force instructs the controller to recreate resources when patching fails due to an immutable field change.
|
A list of resources to be included in the health assessment. | |
Images is a list of (image name, new name, new tag or digest) for changing image names, tags or digests. This can also be achieved with a patch, but this operator is simpler to specify. | |
interval | The interval at which to reconcile the Kustomization. |
The KubeConfig for reconciling the Kustomization on a remote cluster. When specified, KubeConfig takes precedence over ServiceAccountName. | |
Strategic merge and JSON patches, defined as inline YAML objects, capable of targeting objects based on kind, label and annotation selectors. | |
JSON 6902 patches, defined as inline YAML objects. | |
Strategic merge patches, defined as inline YAML objects. | |
path | Path to the directory containing the kustomization.yaml file, or the set of plain YAMLs a kustomization.yaml should be generated for. Defaults to 'None', which translates to the root path of the SourceRef. |
PostBuild describes which actions to perform on the YAML manifest generated by building the kustomize overlay. | |
prune | Prune enables garbage collection. |
retryInterval | The interval at which to retry a previously failed reconciliation. When not specified, the controller uses the KustomizationSpec.Interval value to retry failures. |
serviceAccountName | The name of the Kubernetes service account to impersonate when reconciling this Kustomization. |
Reference of the source where the kustomization file is. | |
suspend | This flag tells the controller to suspend subsequent kustomize executions, it does not apply to already started executions. Defaults to false. |
targetNamespace | TargetNamespace sets or overrides the namespace in the kustomization.yaml file.
|
timeout | Timeout for validation, apply and health checking operations. Defaults to 'Interval' duration. |
validation | Validate the Kubernetes objects before applying them on the cluster. The validation strategy can be 'client' (local dry-run), 'server' (APIServer dry-run) or 'none'. When 'Force' is 'true', validation will fallback to 'client' if set to 'server' because server-side validation is not supported in this scenario.
|