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 4c11dcc5..9c621de8 100644
--- a/docs/resources/application_set.md
+++ b/docs/resources/application_set.md
@@ -819,8 +819,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`
@@ -1089,8 +1118,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`
@@ -1366,8 +1424,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`
@@ -1618,8 +1705,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`
@@ -1919,8 +2035,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`
@@ -2189,8 +2334,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`
@@ -2466,8 +2640,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`
@@ -2718,8 +2921,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`
@@ -3017,8 +3249,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`
@@ -3287,8 +3548,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`
@@ -3564,8 +3854,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`
@@ -3816,8 +4135,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`
@@ -4183,8 +4531,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`
@@ -4603,8 +4980,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`
@@ -4864,8 +5270,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`
@@ -5164,8 +5599,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`
@@ -5434,8 +5898,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`
@@ -5711,8 +6204,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`
@@ -5963,8 +6485,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`
@@ -6330,8 +6881,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`
@@ -6750,8 +7330,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`
@@ -7011,8 +7620,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`
@@ -7378,8 +8016,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`
@@ -7798,8 +8465,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`
@@ -8059,8 +8755,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`
@@ -8361,8 +9086,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`
@@ -8631,8 +9385,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`
@@ -8908,8 +9691,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`
@@ -9160,8 +9972,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`
@@ -9459,8 +10300,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`
@@ -9729,8 +10599,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`
@@ -10006,8 +10905,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`
@@ -10258,8 +11186,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`
@@ -10625,8 +11582,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`
@@ -11045,8 +12031,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`
@@ -11306,8 +12321,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`
@@ -11606,8 +12650,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`
@@ -11876,8 +12949,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`
@@ -12153,8 +13255,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`
@@ -12405,8 +13536,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`
@@ -12772,8 +13932,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`
@@ -13192,8 +14381,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`
@@ -13453,8 +14671,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`
@@ -13820,8 +15067,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`
@@ -14240,8 +15516,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`
@@ -14501,8 +15806,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`
@@ -14868,8 +16202,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`
@@ -15288,8 +16651,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`
@@ -15535,8 +16927,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 eb5887b4..ecbda03d 100644
--- a/internal/features/features.go
+++ b/internal/features/features.go
@@ -15,6 +15,7 @@ const (
ManagedNamespaceMetadata
ApplicationSetApplicationsSyncPolicy
ApplicationSetIgnoreApplicationDifferences
+ ApplicationKustomizePatches
)
type FeatureConstraint struct {
@@ -31,4 +32,5 @@ 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")},
}