17 KiB
Kustomize API reference
Packages:
kustomize.toolkit.fluxcd.io/v1beta1
Package v1beta1 contains API Schema definitions for the kustomize v1beta1 API group
Resource Types:Kustomization
Kustomization is the Schema for the kustomizations API.
| Field | Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
kustomize.toolkit.fluxcd.io/v1beta1
|
||||||||||||||||||||||||||
kindstring |
Kustomization
|
||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||
specKustomizationSpec |
|
||||||||||||||||||||||||||
statusKustomizationStatus |
CrossNamespaceObjectReference
(Appears on: KustomizationSpec)
CrossNamespaceObjectReference contains enough information to let you locate the typed referenced object at cluster level
| Field | Description |
|---|---|
apiVersionstring |
(Optional)
API version of the referent, defaults to ‘apps/v1’ |
kindstring |
Kind of the referent |
namestring |
Name of the referent |
namespacestring |
(Optional)
Namespace of the referent |
CrossNamespaceSourceReference
(Appears on: KustomizationSpec)
CrossNamespaceSourceReference contains enough information to let you locate the typed referenced object at cluster level
| Field | Description |
|---|---|
apiVersionstring |
(Optional)
API version of the referent |
kindstring |
Kind of the referent |
namestring |
Name of the referent |
namespacestring |
(Optional)
Namespace of the referent, defaults to the Kustomization namespace |
Decryption
(Appears on: KustomizationSpec)
Decryption defines how decryption is handled for Kubernetes manifests.
| Field | Description |
|---|---|
providerstring |
Provider is the name of the decryption engine. |
secretRefKubernetes core/v1.LocalObjectReference |
(Optional)
The secret name containing the private OpenPGP keys used for decryption. |
KubeConfig
(Appears on: KustomizationSpec)
KubeConfig references a Kubernetes secret generated by CAPI. that contains a kubeconfig file.
| Field | Description |
|---|---|
secretRefKubernetes core/v1.LocalObjectReference |
The secret name containing a ‘value’ key with the kubeconfig file as the value.
This secret must be in the same Namespace as the Kustomization.
KubeConfig secrets maintained by Cluster API bootstrap providers can be used here.
(ex: If your CAPI Cluster’s name is |
KustomizationSpec
(Appears on: Kustomization)
KustomizationSpec defines the desired state of a kustomization.
| Field | Description |
|---|---|
dependsOn[]Runtime dependency.CrossNamespaceDependencyReference |
(Optional)
DependsOn may contain a dependency.CrossNamespaceDependencyReference slice with references to Kustomization resources that must be ready before this Kustomization can be reconciled. |
decryptionDecryption |
(Optional)
Decrypt Kubernetes secrets before applying them on the cluster. |
intervalKubernetes meta/v1.Duration |
The interval at which to reconcile the kustomization. |
kubeConfigKubeConfig |
(Optional)
The KubeConfig for reconciling the Kustomization on a remote cluster. |
pathstring |
Path to the directory containing the kustomization file. |
prunebool |
Prune enables garbage collection. |
healthChecks[]CrossNamespaceObjectReference |
(Optional)
A list of resources to be included in the health assessment. |
serviceAccountServiceAccount |
(Optional)
The Kubernetes service account used for applying the kustomization. |
sourceRefCrossNamespaceSourceReference |
Reference of the source where the kustomization file is. |
suspendbool |
(Optional)
This flag tells the controller to suspend subsequent kustomize executions, it does not apply to already started executions. Defaults to false. |
targetNamespacestring |
(Optional)
TargetNamespace sets or overrides the namespace in the kustomization.yaml file. |
timeoutKubernetes meta/v1.Duration |
(Optional)
Timeout for validation, apply and health checking operations. Defaults to ‘Interval’ duration. |
validationstring |
(Optional)
Validate the Kubernetes objects before applying them on the cluster. The validation strategy can be ‘client’ (local dry-run) or ‘server’ (APIServer dry-run). |
KustomizationStatus
(Appears on: Kustomization)
KustomizationStatus defines the observed state of a kustomization.
| Field | Description |
|---|---|
observedGenerationint64 |
(Optional)
ObservedGeneration is the last reconciled generation. |
conditions[]github.com/fluxcd/pkg/apis/meta.Condition |
(Optional) |
lastAppliedRevisionstring |
(Optional)
The last successfully applied revision. The revision format for Git sources is /. |
lastAttemptedRevisionstring |
(Optional)
LastAttemptedRevision is the revision of the last reconciliation attempt. |
lastHandledReconcileAtstring |
(Optional)
LastHandledReconcileAt is the last manual reconciliation request (by annotating the Kustomization) handled by the reconciler. |
snapshotSnapshot |
(Optional)
The last successfully applied revision metadata. |
ServiceAccount
(Appears on: KustomizationSpec)
ServiceAccount defines a reference to a Kubernetes service account.
| Field | Description |
|---|---|
namestring |
Name is the name of the service account being referenced. |
namespacestring |
Namespace is the namespace of the service account being referenced. |
Snapshot
(Appears on: KustomizationStatus)
Snapshot holds the metadata of the Kubernetes objects generated for a source revision
| Field | Description |
|---|---|
checksumstring |
The manifests sha1 checksum. |
entries[]SnapshotEntry |
A list of Kubernetes kinds grouped by namespace. |
SnapshotEntry
(Appears on: Snapshot)
Snapshot holds the metadata of namespaced Kubernetes objects
| Field | Description |
|---|---|
namespacestring |
(Optional)
The namespace of this entry. |
kindsmap[string]string |
The list of Kubernetes kinds. |
This page was automatically generated with gen-crd-api-reference-docs