From fcde4f9ca3e0cfa150127300ea9e2219e8f4d0cb Mon Sep 17 00:00:00 2001 From: Pavel Karpov Date: Mon, 20 Jan 2025 14:48:29 +0300 Subject: [PATCH] [webhooks] fix rbac Signed-off-by: Pavel Karpov --- templates/webhooks/rbac-for-us.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/webhooks/rbac-for-us.yaml b/templates/webhooks/rbac-for-us.yaml index ffd2f8d7..4d462122 100644 --- a/templates/webhooks/rbac-for-us.yaml +++ b/templates/webhooks/rbac-for-us.yaml @@ -22,6 +22,13 @@ rules: - update - list - patch + - apiGroups: + - storage.deckhouse.io + resources: + - nfsstorageclasses + verbs: + - get + - list --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding