From acc8084991f7d81292637b4e7fb9173db2e4d175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=22WanzenBug=22=20Wanzenb=C3=B6ck?= Date: Mon, 20 Nov 2023 11:02:04 +0100 Subject: [PATCH] chart: fix CSI values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some chart values where not applied correctly, either using the wrong names or wrong filters that lead to errors. While the names used originally in the CR where much clearer, we don't want to introduce a breaking change, so we keep them as is. We also don't change the helm names, as they are much more descriptive, at the cost of some potential minor confusion. This should be fine, as nobody noticed this issue until now, and probably never will. Signed-off-by: Moritz "WanzenBug" Wanzenböck --- charts/piraeus/templates/operator-csi-driver.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/piraeus/templates/operator-csi-driver.yaml b/charts/piraeus/templates/operator-csi-driver.yaml index f3cb709d..83083bda 100644 --- a/charts/piraeus/templates/operator-csi-driver.yaml +++ b/charts/piraeus/templates/operator-csi-driver.yaml @@ -45,7 +45,7 @@ spec: priorityClassName: {{ .Values.priorityClassName | default "" | quote }} controllerReplicas: {{ .Values.csi.controllerReplicas }} {{- if .Values.csi.controllerStrategy }} - controllerStrategy: {{ .Values.csi.controllerStrategy }} + controllerStrategy: {{ .Values.csi.controllerStrategy | toJson}} {{- end }} controllerEndpoint: {{ template "controller.endpoint" . }} nodeAffinity: {{ .Values.csi.nodeAffinity | toJson }} @@ -61,10 +61,10 @@ spec: logLevel: {{ .Values.csi.logLevel | quote }} {{- end }} {{- if .Values.csi.controllerSidecars }} - controllerSidecars: {{ .Values.csi.controllerSidecars | toJson }} + sidecars: {{ .Values.csi.controllerSidecars | toJson }} {{- end }} {{- if .Values.csi.controllerExtraVolumes }} - controllerExtraVolumes: {{ .Values.csi.controllerExtraVolumes | toJson }} + extraVolumes: {{ .Values.csi.controllerExtraVolumes | toJson }} {{- end }} {{- if .Values.csi.nodeSidecars }} nodeSidecars: {{ .Values.csi.nodeSidecars | toJson }}