Kustomization.spec
KustomizationSpec defines the configuration to calculate the desired state from a Source using Kustomize.
| Field / Type | Description |
|---|---|
CommonMetadata specifies the common labels and annotations that are applied to all resources. Any existing label or annotation will be overridden if its key matches a common one. | |
Components specifies relative paths to specifications of other Components. | |
Decrypt Kubernetes secrets before applying them on the cluster. | |
DependsOn may contain a meta.NamespacedObjectReference 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 used in combination with KustomizationSpec.ServiceAccountName, forces the controller to act on behalf of that Service Account at the target cluster. If the --default-service-account flag is set, its value will be used as a controller level fallback for when KustomizationSpec.ServiceAccountName is empty. | |
Strategic merge and JSON patches, defined as inline YAML objects, capable of targeting objects based on kind, label and annotation selectors. | |
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.
|
wait | Wait instructs the controller to check the health of all the reconciled resources. When enabled, the HealthChecks are ignored. Defaults to false. |