Skip to content

Commit ab560af

Browse files
ecojanamuraru
authored andcommitted
Added support for additional labels that will be added to all resources (#19)
1 parent d52646c commit ab560af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/zookeeper-operator/templates/_helpers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
3434
{{- end }}
3535
app.kubernetes.io/managed-by: {{ .Release.Service }}
3636
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
37+
{{- range $k, $v := $.Values.labels }}
38+
{{ $k }}: {{ $v | quote }}
39+
{{- end }}
3740
{{- end -}}
3841

3942
{{/*

0 commit comments

Comments
 (0)