diff --git a/api/v1beta1/kustomization_types.go b/api/v1beta1/kustomization_types.go index 8d6a2e8..2419c13 100644 --- a/api/v1beta1/kustomization_types.go +++ b/api/v1beta1/kustomization_types.go @@ -83,7 +83,8 @@ type KustomizationSpec struct { // +optional HealthChecks []meta.NamespacedObjectKindReference `json:"healthChecks,omitempty"` - // Patches (also called overlays), defined as inline YAML objects. + // Strategic merge and JSON patches, defined as inline YAML objects, + // capable of targeting objects based on kind, label and annotation selectors. // +optional Patches []kustomize.Patch `json:"patches,omitempty"` diff --git a/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml b/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml index 2e9147c..9ae59c7 100644 --- a/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml +++ b/config/crd/bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml @@ -143,7 +143,7 @@ spec: type: object type: object patches: - description: Patches (also called overlays), defined as inline YAML objects. + description: Strategic merge and JSON patches, defined as inline YAML objects, capable of targeting objects based on kind, label and annotation selectors. items: description: Patch contains either a StrategicMerge or a JSON6902 patch, either a file or inline, and the target the patch should be applied to. properties: diff --git a/docs/api/kustomize.md b/docs/api/kustomize.md index 5ccdfec..544b52c 100644 --- a/docs/api/kustomize.md +++ b/docs/api/kustomize.md @@ -207,7 +207,8 @@ bool
Patches (also called overlays), defined as inline YAML objects.
+Strategic merge and JSON patches, defined as inline YAML objects, +capable of targeting objects based on kind, label and annotation selectors.
Patches (also called overlays), defined as inline YAML objects.
+Strategic merge and JSON patches, defined as inline YAML objects, +capable of targeting objects based on kind, label and annotation selectors.