helm: Add missing RBAC for nodes to cephfs chart

Signed-off-by: Ondrej Vasko <ondrej.vaskoo@gmail.com>
(cherry picked from commit 72b9d5ac54)
This commit is contained in:
Ondrej Vasko 2025-02-05 19:26:54 +01:00 committed by mergify[bot]
parent fb0f1643fe
commit b95a832493

View File

@ -38,6 +38,9 @@ rules:
- apiGroups: ["snapshot.storage.k8s.io"] - apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents/status"] resources: ["volumesnapshotcontents/status"]
verbs: ["update", "patch"] verbs: ["update", "patch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list","watch"]
{{- if .Values.provisioner.snapshotter.args.enableVolumeGroupSnapshots }} {{- if .Values.provisioner.snapshotter.args.enableVolumeGroupSnapshots }}
- apiGroups: ["snapshot.storage.k8s.io"] - apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshots"] resources: ["volumesnapshots"]