diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go
index 912151c2..097da69c 100644
--- a/argocd/resource_argocd_application_test.go
+++ b/argocd/resource_argocd_application_test.go
@@ -176,7 +176,7 @@ func TestAccArgoCDApplication_Helm_FileParameters(t *testing.T) {
func TestAccArgoCDApplication_Kustomize(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
- PreCheck: func() { testAccPreCheck(t) },
+ PreCheck: func() { testAccPreCheck(t); testAccPreCheckFeatureSupported(t, features.ApplicationKustomizePatches) },
ProviderFactories: testAccProviders,
Steps: []resource.TestStep{
{
@@ -1293,13 +1293,13 @@ resource "argocd_application" "helm_file_parameters" {
func testAccArgoCDApplicationKustomize(name string, path string, validate bool) string {
return fmt.Sprintf(`
resource "argocd_application" "kustomize" {
- metadata {
- name = "%s"
- namespace = "argocd"
- labels = {
- acceptance = "true"
- }
- }
+ metadata {
+ name = "%s"
+ namespace = "argocd"
+ labels = {
+ acceptance = "true"
+ }
+ }
spec {
source {
diff --git a/argocd/schema_application.go b/argocd/schema_application.go
index 136e785c..69e1160d 100644
--- a/argocd/schema_application.go
+++ b/argocd/schema_application.go
@@ -1441,6 +1441,77 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema {
Elem: &schema.Schema{Type: schema.TypeString},
ValidateFunc: validateMetadataAnnotations,
},
+ "patches": {
+ Type: schema.TypeList,
+ Description: "Patches is a list of Kustomize patches",
+ Optional: true,
+ Elem: &schema.Resource{
+ Schema: map[string]*schema.Schema{
+ "target": {
+ Type: schema.TypeSet,
+ Description: "Targets to Patch",
+ Required: true,
+ Elem: &schema.Resource{
+ Schema: map[string]*schema.Schema{
+ "kind": {
+ Type: schema.TypeString,
+ Description: "kind",
+ Optional: true,
+ },
+ "name": {
+ Type: schema.TypeString,
+ Description: "name",
+ Optional: true,
+ },
+ "label_selector": {
+ Type: schema.TypeString,
+ Description: "Label Selectors",
+ Optional: true,
+ },
+ "annotation_selector": {
+ Type: schema.TypeString,
+ Description: "Annotation Selectors",
+ Optional: true,
+ },
+ "group": {
+ Type: schema.TypeString,
+ Description: "group",
+ Optional: true,
+ },
+ "namespace": {
+ Type: schema.TypeString,
+ Description: "namespace",
+ Optional: true,
+ },
+ "version": {
+ Type: schema.TypeString,
+ Description: "version",
+ Optional: true,
+ },
+ },
+ },
+ },
+ "patch": {
+ Type: schema.TypeString,
+ Description: "patch",
+ Optional: true,
+ Elem: &schema.Schema{Type: schema.TypeString},
+ },
+ "path": {
+ Type: schema.TypeString,
+ Description: "path",
+ Optional: true,
+ Elem: &schema.Schema{Type: schema.TypeString},
+ },
+ "options": {
+ Type: schema.TypeMap,
+ Description: "options",
+ Optional: true,
+ Elem: &schema.Schema{Type: schema.TypeBool},
+ },
+ },
+ },
+ },
},
},
},
diff --git a/argocd/structure_application.go b/argocd/structure_application.go
index d28b9d74..695df36d 100644
--- a/argocd/structure_application.go
+++ b/argocd/structure_application.go
@@ -234,6 +234,61 @@ func expandApplicationSourceKustomize(in []interface{}) *application.Application
}
}
+ if patches, ok := a["patches"]; ok {
+ for _, v := range patches.([]interface{}) {
+ patchMap := v.(map[string]interface{})
+ kustomizePatch := application.KustomizePatch{}
+
+ if patch, ok := patchMap["patch"]; ok {
+ kustomizePatch.Patch = patch.(string)
+ }
+
+ if target, ok := patchMap["target"]; ok {
+ targetList := target.(*schema.Set).List()
+ if len(targetList) > 0 {
+ targetMap := targetList[0].(map[string]interface{})
+ kustomizeSelector := application.KustomizeSelector{
+ KustomizeResId: application.KustomizeResId{
+ KustomizeGvk: application.KustomizeGvk{},
+ },
+ }
+
+ if group, ok := targetMap["group"]; ok {
+ kustomizeSelector.KustomizeResId.KustomizeGvk.Group = group.(string)
+ }
+
+ if version, ok := targetMap["version"]; ok {
+ kustomizeSelector.KustomizeResId.KustomizeGvk.Version = version.(string)
+ }
+
+ if kind, ok := targetMap["kind"]; ok {
+ kustomizeSelector.KustomizeResId.KustomizeGvk.Kind = kind.(string)
+ }
+
+ if name, ok := targetMap["name"]; ok {
+ kustomizeSelector.KustomizeResId.Name = name.(string)
+ }
+
+ if namespace, ok := targetMap["namespace"]; ok {
+ kustomizeSelector.KustomizeResId.Namespace = namespace.(string)
+ }
+
+ if label_selector, ok := targetMap["label_selector"]; ok {
+ kustomizeSelector.LabelSelector = label_selector.(string)
+ }
+
+ if annotation_selector, ok := targetMap["annotation_selector"]; ok {
+ kustomizeSelector.AnnotationSelector = annotation_selector.(string)
+ }
+
+ kustomizePatch.Target = &kustomizeSelector
+ }
+ }
+
+ result.Patches = append(result.Patches, kustomizePatch)
+ }
+ }
+
return result
}
@@ -757,7 +812,32 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom
images = append(images, string(i))
}
+ var patches []map[string]interface{}
+
+ for _, p := range a.Patches {
+ target := make(map[string]interface{})
+ if p.Target != nil {
+ target = map[string]interface{}{
+ "group": p.Target.KustomizeResId.KustomizeGvk.Group,
+ "version": p.Target.KustomizeResId.KustomizeGvk.Version,
+ "kind": p.Target.KustomizeResId.KustomizeGvk.Kind,
+ "name": p.Target.KustomizeResId.Name,
+ "namespace": p.Target.KustomizeResId.Namespace,
+ "label_selector": p.Target.LabelSelector,
+ "annotation_selector": p.Target.AnnotationSelector,
+ }
+ }
+
+ patches = append(patches, map[string]interface{}{
+ "patch": p.Patch,
+ "path": p.Path,
+ "options": p.Options,
+ "target": []map[string]interface{}{target},
+ })
+ }
+
result = append(result, map[string]interface{}{
+ "patches": patches,
"common_annotations": a.CommonAnnotations,
"common_labels": a.CommonLabels,
"images": images,
@@ -768,7 +848,7 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom
}
}
- return
+ return result
}
func flattenApplicationSourceHelm(as []*application.ApplicationSourceHelm) (result []map[string]interface{}) {
diff --git a/docs/resources/application.md b/docs/resources/application.md
index b1c293c4..84b04b9e 100644
--- a/docs/resources/application.md
+++ b/docs/resources/application.md
@@ -332,8 +332,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.source.plugin`
diff --git a/docs/resources/application_set.md b/docs/resources/application_set.md
index 1f465498..848c81ef 100644
--- a/docs/resources/application_set.md
+++ b/docs/resources/application_set.md
@@ -820,8 +820,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -1090,8 +1119,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.clusters.template.spec.source.plugin`
@@ -1367,8 +1425,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.git.template.spec.source.plugin`
@@ -1619,8 +1706,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.list.template.spec.source.plugin`
@@ -1920,8 +2036,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -2190,8 +2335,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.plugin`
@@ -2467,8 +2641,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.plugin`
@@ -2719,8 +2922,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.plugin`
@@ -3018,8 +3250,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -3288,8 +3549,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.plugin`
@@ -3565,8 +3855,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.plugin`
@@ -3817,8 +4136,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.plugin`
@@ -4184,8 +4532,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.plugin`
@@ -4604,8 +4981,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.plugin`
@@ -4865,8 +5271,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.plugin`
@@ -5165,8 +5600,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -5435,8 +5899,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.plugin`
@@ -5712,8 +6205,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.plugin`
@@ -5964,8 +6486,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.plugin`
@@ -6331,8 +6882,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.plugin`
@@ -6751,8 +7331,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.plugin`
@@ -7012,8 +7621,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.plugin`
@@ -7379,8 +8017,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.plugin`
@@ -7799,8 +8466,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.plugin`
@@ -8060,8 +8756,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.matrix.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.matrix.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.matrix.template.spec.source.plugin`
@@ -8362,8 +9087,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -8632,8 +9386,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.plugin`
@@ -8909,8 +9692,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.plugin`
@@ -9161,8 +9973,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.plugin`
@@ -9460,8 +10301,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -9730,8 +10600,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.plugin`
@@ -10007,8 +10906,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.plugin`
@@ -10259,8 +11187,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.plugin`
@@ -10626,8 +11583,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.plugin`
@@ -11046,8 +12032,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.plugin`
@@ -11307,8 +12322,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.plugin`
@@ -11607,8 +12651,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.plugin`
@@ -11877,8 +12950,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.plugin`
@@ -12154,8 +13256,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.plugin`
@@ -12406,8 +13537,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.plugin`
@@ -12773,8 +13933,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.plugin`
@@ -13193,8 +14382,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.plugin`
@@ -13454,8 +14672,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.plugin`
@@ -13821,8 +15068,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.plugin`
@@ -14241,8 +15517,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.plugin`
@@ -14502,8 +15807,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.merge.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.merge.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.merge.template.spec.source.plugin`
@@ -14869,8 +16203,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.pull_request.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.pull_request.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.pull_request.template.spec.source.plugin`
@@ -15289,8 +16652,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.generator.scm_provider.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.generator.scm_provider.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.generator.scm_provider.template.spec.source.plugin`
@@ -15536,8 +16928,37 @@ Optional:
- `images` (Set of String) List of Kustomize image override specifications.
- `name_prefix` (String) Prefix appended to resources for Kustomize apps.
- `name_suffix` (String) Suffix appended to resources for Kustomize apps.
+- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches))
- `version` (String) Version of Kustomize to use for rendering manifests.
+
+### Nested Schema for `spec.template.spec.source.kustomize.patches`
+
+Required:
+
+- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches--target))
+
+Optional:
+
+- `options` (Map of Boolean) options
+- `patch` (String) patch
+- `path` (String) path
+
+
+### Nested Schema for `spec.template.spec.source.kustomize.patches.target`
+
+Optional:
+
+- `annotation_selector` (String) Annotation Selectors
+- `group` (String) group
+- `kind` (String) kind
+- `label_selector` (String) Label Selectors
+- `name` (String) name
+- `namespace` (String) namespace
+- `version` (String) version
+
+
+
### Nested Schema for `spec.template.spec.source.plugin`
diff --git a/internal/features/features.go b/internal/features/features.go
index 47c9ea98..03fbfa69 100644
--- a/internal/features/features.go
+++ b/internal/features/features.go
@@ -15,6 +15,7 @@ const (
ManagedNamespaceMetadata
ApplicationSetApplicationsSyncPolicy
ApplicationSetIgnoreApplicationDifferences
+ ApplicationKustomizePatches
ApplicationSetTemplatePatch
)
@@ -32,5 +33,6 @@ var ConstraintsMap = map[Feature]FeatureConstraint{
ManagedNamespaceMetadata: {"managed namespace metadsata", semver.MustParse("2.6.0")},
ApplicationSetApplicationsSyncPolicy: {"application set level application sync policy", semver.MustParse("2.8.0")},
ApplicationSetIgnoreApplicationDifferences: {"application set ignore application differences", semver.MustParse("2.9.0")},
+ ApplicationKustomizePatches: {"application kustomize patches", semver.MustParse("2.9.0")},
ApplicationSetTemplatePatch: {"application set template patch", semver.MustParse("2.10.0")},
}