Skip to content

Commit

Permalink
helm: Always add nodes read permissions to provisioner ClusterRole
Browse files Browse the repository at this point in the history
Signed-off-by: Dmytro Alieksieiev <1865999+dragoangel@users.noreply.github.com>
  • Loading branch information
dragoangel authored and mergify[bot] committed Aug 27, 2024
1 parent 1865ce0 commit 601c40b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions charts/ceph-csi-rbd/templates/provisioner-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 601c40b

Please sign in to comment.