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>
(cherry picked from commit 5224d58c13)
This commit is contained in:
NymanRobin 2024-03-18 10:50:13 +02:00 committed by mergify[bot]
parent ef0d2106ba
commit 585325ac4b
2 changed files with 9 additions and 0 deletions

View File

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

View File

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