From c41fe8c97dc0775791065b2e6ab57e278c90ad7e Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Fri, 12 Apr 2024 04:41:37 +0200 Subject: [PATCH] add admissionregistration group to work execution clusterrole (#420) Signed-off-by: Zhiwei Yin Co-authored-by: Zhiwei Yin --- .../managed/klusterlet-work-clusterrole-execution.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/klusterlet/managed/klusterlet-work-clusterrole-execution.yaml b/manifests/klusterlet/managed/klusterlet-work-clusterrole-execution.yaml index 01b7ea36d..cd5b64ab8 100644 --- a/manifests/klusterlet/managed/klusterlet-work-clusterrole-execution.yaml +++ b/manifests/klusterlet/managed/klusterlet-work-clusterrole-execution.yaml @@ -37,3 +37,6 @@ rules: - apiGroups: ["scheduling.k8s.io"] resources: ["priorityclasses"] verbs: ["get", "list", "watch", "create", "patch", "update", "delete"] +- apiGroups: ["admissionregistration.k8s.io"] + resources: [ "mutatingwebhookconfigurations", "validatingwebhookconfigurations" ] + verbs: [ "get", "list", "watch", "create", "update", "patch" ]