From b436a794c882ffcee763b437f49e1c395a5fb8b0 Mon Sep 17 00:00:00 2001 From: shusaan Date: Wed, 18 Oct 2023 21:19:45 +0800 Subject: [PATCH] added missing RBAC for version 1.21.0 --- charts/cloudnative-pg/templates/rbac.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/charts/cloudnative-pg/templates/rbac.yaml b/charts/cloudnative-pg/templates/rbac.yaml index e5126e54b..576e38617 100644 --- a/charts/cloudnative-pg/templates/rbac.yaml +++ b/charts/cloudnative-pg/templates/rbac.yaml @@ -361,6 +361,15 @@ rules: - patch - update - watch +- apiGroups: + - snapshot.storage.k8s.io + resources: + - volumesnapshots + verbs: + - get + - list + - update + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding