From b95a83249313239721f7345b685c252792e67a9d Mon Sep 17 00:00:00 2001 From: Ondrej Vasko Date: Wed, 5 Feb 2025 19:26:54 +0100 Subject: [PATCH] helm: Add missing RBAC for nodes to cephfs chart Signed-off-by: Ondrej Vasko (cherry picked from commit 72b9d5ac54d71e0f034a18a38d410a2da329c5e0) --- charts/ceph-csi-cephfs/templates/provisioner-clusterrole.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/ceph-csi-cephfs/templates/provisioner-clusterrole.yaml b/charts/ceph-csi-cephfs/templates/provisioner-clusterrole.yaml index 1405655e9..1406028b8 100644 --- a/charts/ceph-csi-cephfs/templates/provisioner-clusterrole.yaml +++ b/charts/ceph-csi-cephfs/templates/provisioner-clusterrole.yaml @@ -38,6 +38,9 @@ rules: - apiGroups: ["snapshot.storage.k8s.io"] resources: ["volumesnapshotcontents/status"] verbs: ["update", "patch"] + - apiGroups: [""] + resources: ["nodes"] + verbs: ["get", "list","watch"] {{- if .Values.provisioner.snapshotter.args.enableVolumeGroupSnapshots }} - apiGroups: ["snapshot.storage.k8s.io"] resources: ["volumesnapshots"]