Skip to content

Commit e666de3

Browse files
authored
Issue 128 -> add labels to pod
Issue 128 -> add labels to pod
1 parent cbc34d4 commit e666de3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

charts/docker-mailserver/templates/deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ spec:
2727
labels:
2828
app.kubernetes.io/name: {{ template "dockermailserver.fullname" . }}
2929
release: "{{ .Release.Name }}"
30+
{{- if .Values.deployment.labels }}
31+
{{ toYaml .Values.deployment.labels | indent 8 }}
32+
{{ end }}
3033
{{- if .Values.deployment.annotations }}
3134
annotations:
3235
{{ toYaml .Values.deployment.annotations | indent 8 }}
@@ -263,4 +266,4 @@ spec:
263266
readonly: true
264267
{{- end }}
265268
{{- end }}
266-
{{- end }}
269+
{{- end }}

0 commit comments

Comments
 (0)