mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-02 19:20:23 +00:00
helm: update node plugin cluster role
added permission to get nodes for rbd and cephfs nodeplugin daemonset
Signed-off-by: Jan Nemcik <jan.nemcik@solargis.com>
(cherry picked from commit 1fb6d8f891
)
This commit is contained in:
parent
d540e22bfc
commit
e7acce2848
@ -11,9 +11,7 @@ metadata:
|
|||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- if and .Values.readAffinity .Values.readAffinity.enabled }}
|
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get"]
|
verbs: ["get"]
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -11,11 +11,9 @@ metadata:
|
|||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- if .Values.topology.enabled }}
|
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get"]
|
verbs: ["get"]
|
||||||
{{- end }}
|
|
||||||
# allow to read Vault Token and connection options from the Tenants namespace
|
# allow to read Vault Token and connection options from the Tenants namespace
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["secrets"]
|
resources: ["secrets"]
|
||||||
|
Loading…
Reference in New Issue
Block a user