From 4bb544e84d6bd5a539bb22b16e8c075d31042dd8 Mon Sep 17 00:00:00 2001 From: Brandon Wagner Date: Fri, 31 Mar 2023 10:53:25 -0500 Subject: [PATCH] remove old webhook permission (#259) --- charts/karpenter-core/templates/clusterrole.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/charts/karpenter-core/templates/clusterrole.yaml b/charts/karpenter-core/templates/clusterrole.yaml index bb62a26c3d..e3fe18b9e0 100644 --- a/charts/karpenter-core/templates/clusterrole.yaml +++ b/charts/karpenter-core/templates/clusterrole.yaml @@ -64,7 +64,3 @@ rules: resources: ["validatingwebhookconfigurations"] verbs: ["update"] resourceNames: ["validation.webhook.karpenter.sh", "validation.webhook.config.karpenter.sh"] - - apiGroups: ["admissionregistration.k8s.io"] - resources: ["mutatingwebhookconfigurations"] - verbs: ["update"] - resourceNames: ["defaulting.webhook.karpenter.sh"]