From 6be0e8cb51338f9b8f685c53f1bc3be831a62aac Mon Sep 17 00:00:00 2001 From: Steven Reitsma Date: Tue, 21 Dec 2021 14:54:34 +0100 Subject: [PATCH] helm: Fix missing ClusterRoleBinding for nodeplugin ServiceAccount 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 --- .../ceph-csi-rbd/templates/nodeplugin-clusterrolebinding.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/charts/ceph-csi-rbd/templates/nodeplugin-clusterrolebinding.yaml b/charts/ceph-csi-rbd/templates/nodeplugin-clusterrolebinding.yaml index fdc79be4a..bf52865e1 100644 --- a/charts/ceph-csi-rbd/templates/nodeplugin-clusterrolebinding.yaml +++ b/charts/ceph-csi-rbd/templates/nodeplugin-clusterrolebinding.yaml @@ -1,5 +1,4 @@ {{- if .Values.rbac.create -}} -{{- if .Values.topology.enabled }} kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: @@ -18,5 +17,4 @@ roleRef: kind: ClusterRole name: {{ include "ceph-csi-rbd.nodeplugin.fullname" . }} apiGroup: rbac.authorization.k8s.io -{{- end }} {{- end -}}