Skip to content

Commit

Permalink
helm: Fix missing ClusterRoleBinding for nodeplugin ServiceAccount
Browse files Browse the repository at this point in the history
When topology is disabled, the ClusterRoleBinding is not created in the Helm
chart. However, the nodeplugin needs access to volumeattachments for the volume
healer.

Signed-off-by: Steven Reitsma <[email protected]>
  • Loading branch information
StevenReitsma authored and mergify[bot] committed Dec 22, 2021
1 parent bc8ef89 commit 6be0e8c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{- if .Values.rbac.create -}}
{{- if .Values.topology.enabled }}
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand All @@ -18,5 +17,4 @@ roleRef:
kind: ClusterRole
name: {{ include "ceph-csi-rbd.nodeplugin.fullname" . }}
apiGroup: rbac.authorization.k8s.io
{{- end }}
{{- end -}}

0 comments on commit 6be0e8c

Please sign in to comment.