From 202d16795c92ca6815ebf5775a2d0271f8d8a1df Mon Sep 17 00:00:00 2001 From: Enrique Llorente Date: Mon, 19 Sep 2022 09:25:02 +0200 Subject: [PATCH] kustomize: Remove ref to kube-system isolated RBAC When using kustomize isolated overlay the reference to kube-system is not needed, this change remove that at the isolated kustomization file. Signed-off-by: Enrique Llorente --- config/isolated/kustomization.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/isolated/kustomization.yaml b/config/isolated/kustomization.yaml index f91acd1fc..b9d3121bf 100644 --- a/config/isolated/kustomization.yaml +++ b/config/isolated/kustomization.yaml @@ -22,6 +22,13 @@ patchesStrategicMerge: metadata: name: kccm $patch: delete +- |- + apiVersion: rbac.authorization.k8s.io/v1 + kind: RoleBinding + metadata: + name: kccm + namespace: kube-system + $patch: delete generatorOptions: disableNameSuffixHash: true