Skip to content

Commit

Permalink
helm: update node plugin cluster role
Browse files Browse the repository at this point in the history
added permission to get nodes for rbd nodeplugin daemonset

Signed-off-by: Jan Nemcik <jan.nemcik@solargis.com>
  • Loading branch information
nemcikjan committed Dec 5, 2023
1 parent da9dfeb commit ec05ae6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions charts/ceph-csi-rbd/templates/nodeplugin-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ metadata:
heritage: {{ .Release.Service }}
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
rules:
{{- if .Values.topology.enabled }}
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get"]
{{- end }}
# allow to read Vault Token and connection options from the Tenants namespace
- apiGroups: [""]
resources: ["secrets"]
Expand Down

0 comments on commit ec05ae6

Please sign in to comment.