cephfs: add support for encryption in ceph-csi-cephfs chart

the chart currently lacks access to configmap and secrets
this causes the mounting of encrypted file systems to fail

Signed-off-by: NymanRobin <nyman.robin@gmail.com>
This commit is contained in:
NymanRobin 2024-03-18 10:50:13 +02:00 committed by mergify[bot]
parent d56c9abbce
commit 5224d58c13
2 changed files with 9 additions and 0 deletions

View File

@ -14,4 +14,10 @@ rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get"]
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get"]
{{- end -}}

View File

@ -14,6 +14,9 @@ rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "update", "delete","patch"]