Skip to content

Commit a0ff57f

Browse files
author
Nicolas Brière
committed
feat: add support for optional global labels in Metabase deployment configuration
1 parent 86cced0 commit a0ff57f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/metabase/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ spec:
1414
labels:
1515
app: {{ .Values.global.service_name }}
1616
{{- include "metabase.labels" . | nindent 8 }}
17+
{{- if .Values.global.labels }}
18+
{{- toYaml .Values.global.labels | nindent 8 }}
19+
{{- end }}
1720
spec:
1821
{{- if include "metabase.serviceAccountName" . }}
1922
serviceAccountName: {{ include "metabase.serviceAccountName" . }}

0 commit comments

Comments
 (0)