From fcc685630035da167f114f855d64c0bf50b2cfa7 Mon Sep 17 00:00:00 2001 From: Igor Kanshyn Date: Thu, 2 Nov 2023 16:28:34 -0400 Subject: [PATCH 1/2] corrected formatting and removed unused types, this is based on kubeconfig for AKS feature review Signed-off-by: Igor Kanshyn --- .../resource_cluster_scoped_annotation_mutation_policy.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/resources/mutation_policy/resource_cluster_scoped_annotation_mutation_policy.tf b/examples/resources/mutation_policy/resource_cluster_scoped_annotation_mutation_policy.tf index fc36235f2..6c50b5a92 100644 --- a/examples/resources/mutation_policy/resource_cluster_scoped_annotation_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_cluster_scoped_annotation_mutation_policy.tf @@ -31,7 +31,7 @@ resource "tanzu-mission-control_mutation_policy" "cluster_annotation_mutation_po { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] From f6709af35e76eda546958dce5a01b7793226c01b Mon Sep 17 00:00:00 2001 From: Igor Kanshyn Date: Thu, 2 Nov 2023 16:28:34 -0400 Subject: [PATCH 2/2] corrected formatting and removed unused types, this is based on kubeconfig for AKS feature review Signed-off-by: Igor Kanshyn --- .../resource_cluster_group_scoped_annotation_mutation_policy.tf | 2 +- .../resource_cluster_group_scoped_label_mutation_policy.tf | 2 +- ...esource_cluster_group_scoped_pod_security_mutation_policy.tf | 2 +- .../resource_cluster_scoped_label_mutation_policy.tf | 2 +- .../resource_cluster_scoped_pod_security_mutation_policy.tf | 2 +- .../resource_organization_scoped_annotation_mutation_policy.tf | 2 +- .../resource_organization_scoped_label_mutation_policy.tf | 2 +- ...resource_organization_scoped_pod_security_mutation_policy.tf | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/resources/mutation_policy/resource_cluster_group_scoped_annotation_mutation_policy.tf b/examples/resources/mutation_policy/resource_cluster_group_scoped_annotation_mutation_policy.tf index ca76928bb..63ff864aa 100644 --- a/examples/resources/mutation_policy/resource_cluster_group_scoped_annotation_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_cluster_group_scoped_annotation_mutation_policy.tf @@ -30,7 +30,7 @@ resource "tanzu-mission-control_mutation_policy" "cluster_group_annotation_mutat { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_cluster_group_scoped_label_mutation_policy.tf b/examples/resources/mutation_policy/resource_cluster_group_scoped_label_mutation_policy.tf index e573ad935..8784bf671 100644 --- a/examples/resources/mutation_policy/resource_cluster_group_scoped_label_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_cluster_group_scoped_label_mutation_policy.tf @@ -30,7 +30,7 @@ resource "tanzu-mission-control_mutation_policy" "cluster_group_label_mutation_p { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_cluster_group_scoped_pod_security_mutation_policy.tf b/examples/resources/mutation_policy/resource_cluster_group_scoped_pod_security_mutation_policy.tf index 82c0de505..f0369884b 100644 --- a/examples/resources/mutation_policy/resource_cluster_group_scoped_pod_security_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_cluster_group_scoped_pod_security_mutation_policy.tf @@ -64,7 +64,7 @@ resource "tanzu-mission-control_mutation_policy" "cluster_group_pod_security_mut { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_cluster_scoped_label_mutation_policy.tf b/examples/resources/mutation_policy/resource_cluster_scoped_label_mutation_policy.tf index d776ffb1e..cb1831935 100644 --- a/examples/resources/mutation_policy/resource_cluster_scoped_label_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_cluster_scoped_label_mutation_policy.tf @@ -32,7 +32,7 @@ resource "tanzu-mission-control_mutation_policy" "cluster_label_mutation_policy" { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_cluster_scoped_pod_security_mutation_policy.tf b/examples/resources/mutation_policy/resource_cluster_scoped_pod_security_mutation_policy.tf index 4dcc4349e..48f6cec3a 100644 --- a/examples/resources/mutation_policy/resource_cluster_scoped_pod_security_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_cluster_scoped_pod_security_mutation_policy.tf @@ -66,7 +66,7 @@ resource "tanzu-mission-control_mutation_policy" "cluster_pod_security_mutation_ { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_organization_scoped_annotation_mutation_policy.tf b/examples/resources/mutation_policy/resource_organization_scoped_annotation_mutation_policy.tf index 4d00a7665..ea64b55aa 100644 --- a/examples/resources/mutation_policy/resource_organization_scoped_annotation_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_organization_scoped_annotation_mutation_policy.tf @@ -30,7 +30,7 @@ resource "tanzu-mission-control_mutation_policy" "org_annotation_mutation_policy { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_organization_scoped_label_mutation_policy.tf b/examples/resources/mutation_policy/resource_organization_scoped_label_mutation_policy.tf index 141278e5d..1a44d1c1d 100644 --- a/examples/resources/mutation_policy/resource_organization_scoped_label_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_organization_scoped_label_mutation_policy.tf @@ -30,7 +30,7 @@ resource "tanzu-mission-control_mutation_policy" "org_label_mutation_policy" { { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ] diff --git a/examples/resources/mutation_policy/resource_organization_scoped_pod_security_mutation_policy.tf b/examples/resources/mutation_policy/resource_organization_scoped_pod_security_mutation_policy.tf index ae4d6daed..6131e73de 100644 --- a/examples/resources/mutation_policy/resource_organization_scoped_pod_security_mutation_policy.tf +++ b/examples/resources/mutation_policy/resource_organization_scoped_pod_security_mutation_policy.tf @@ -64,7 +64,7 @@ resource "tanzu-mission-control_mutation_policy" "org_pod_security_mutation_poli { key = "component" operator = "NotIn" - values = [ + values = [ "api-server", "agent-gateway" ]