Skip to content

Commit

Permalink
Issue 128 -> add labels to pod
Browse files Browse the repository at this point in the history
Issue 128 -> add labels to pod
  • Loading branch information
rurus9 authored Jul 25, 2024
1 parent cbc34d4 commit e666de3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/docker-mailserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ spec:
labels:
app.kubernetes.io/name: {{ template "dockermailserver.fullname" . }}
release: "{{ .Release.Name }}"
{{- if .Values.deployment.labels }}
{{ toYaml .Values.deployment.labels | indent 8 }}
{{ end }}
{{- if .Values.deployment.annotations }}
annotations:
{{ toYaml .Values.deployment.annotations | indent 8 }}
Expand Down Expand Up @@ -263,4 +266,4 @@ spec:
readonly: true
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit e666de3

Please sign in to comment.