diff --git a/charts/localstack/templates/_helpers.tpl b/charts/localstack/templates/_helpers.tpl index 2d3cc66..a515e95 100644 --- a/charts/localstack/templates/_helpers.tpl +++ b/charts/localstack/templates/_helpers.tpl @@ -40,8 +40,10 @@ helm.sh/chart: {{ include "localstack.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- if .Values.extraLabels }} -{{ toYaml .Values.extraLabels }} +{{- with .Values.extraLabels }} +{{- range $label, $value := index . }} +{{ $label }}: {{ tpl $value $ | quote }} +{{- end }} {{- end }} {{- end }}