Skip to content

Commit f520a93

Browse files
committed
chart: fix labelsOverride subtemplate
labelsOverride was missing toYaml pipeline. This commit adds it. Cherry-pick cabfc11 (#126)
1 parent 27a1c2d commit f520a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployments/helm/cvmfs-csi/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ component: controllerplugin
124124

125125
{{- define "cvmfs-csi.nodeplugin.labels" -}}
126126
{{- if .Values.nodeplugin.labelsOverride -}}
127-
{{ .Values.nodeplugin.labelsOverride }}
127+
{{ toYaml .Values.nodeplugin.labelsOverride }}
128128
{{- else -}}
129129
{{ include "cvmfs-csi.common.metaLabels" . }}
130130
component: nodeplugin
@@ -134,7 +134,7 @@ release: {{ .Release.Name }}
134134

135135
{{- define "cvmfs-csi.controllerplugin.labels" -}}
136136
{{- if .Values.controllerplugin.labelsOverride -}}
137-
{{ .Values.controllerplugin.labelsOverride }}
137+
{{ toYaml .Values.controllerplugin.labelsOverride }}
138138
{{- else -}}
139139
{{ include "cvmfs-csi.common.metaLabels" . }}
140140
component: controllerplugin

0 commit comments

Comments
 (0)