From bb19b6696ff7a96271f7cad8de8e2079171ee68c Mon Sep 17 00:00:00 2001 From: yiraeChristineKim Date: Fri, 5 Jul 2024 14:49:33 -0400 Subject: [PATCH] Delete placementrule and placementbinding under policygenerator Signed-off-by: yiraeChristineKim --- .../zts-xcrypt/input/placementrule.yaml | 11 ----------- policygenerator/subscription.yaml | 19 ------------------- 2 files changed, 30 deletions(-) delete mode 100644 policygenerator/policy-sets/community/zts-xcrypt/input/placementrule.yaml diff --git a/policygenerator/policy-sets/community/zts-xcrypt/input/placementrule.yaml b/policygenerator/policy-sets/community/zts-xcrypt/input/placementrule.yaml deleted file mode 100644 index 2ba7410e..00000000 --- a/policygenerator/policy-sets/community/zts-xcrypt/input/placementrule.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: apps.open-cluster-management.io/v1 -kind: PlacementRule -metadata: - labels: - custom: myApp - name: placement-dev - namespace: zts-xcrypt -spec: - clusterSelector: - matchExpressions: - - {key: environment, operator: In, values: ["dev"]} diff --git a/policygenerator/subscription.yaml b/policygenerator/subscription.yaml index fe7e4178..a839fa7f 100644 --- a/policygenerator/subscription.yaml +++ b/policygenerator/subscription.yaml @@ -43,22 +43,3 @@ metadata: namespace: policy-generator-demo spec: channel: policy-generator-demo/policy-generator-demo - placement: - placementRef: - kind: PlacementRule - name: policy-generator-demo-placement ---- -apiVersion: apps.open-cluster-management.io/v1 -kind: PlacementRule -metadata: - labels: - app: policy-generator-demo - name: policy-generator-demo-placement - namespace: policy-generator-demo -spec: - clusterSelector: - matchExpressions: - - key: local-cluster - operator: In - values: - - "true"