helm: Always add nodes read permissions to provisioner ClusterRole

Signed-off-by: Dmytro Alieksieiev <1865999+dragoangel@users.noreply.github.com>
(cherry picked from commit 601c40b1d8)
This commit is contained in:
Dmytro Alieksieiev 2024-08-22 18:50:15 +02:00 committed by mergify[bot]
parent 07649bf54a
commit add317d87e

View File

@ -81,14 +81,12 @@ rules:
resources: ["persistentvolumeclaims/status"]
verbs: ["update", "patch"]
{{- end }}
{{- if .Values.topology.domainLabels }}
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list","watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["csinodes"]
verbs: ["get", "list", "watch"]
{{- end }}
- apiGroups: [""]
resources: ["serviceaccounts/token"]
verbs: ["create"]