Skip to content

Commit

Permalink
Merge pull request #129 from rurus9/master
Browse files Browse the repository at this point in the history
Issue 128 -> add labels to pod
  • Loading branch information
cfis authored Jul 26, 2024
2 parents cbc34d4 + e6f1fb1 commit d61bad1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/docker-mailserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "14.0.0"
description: A fullstack but simple mailserver (smtp, imap, antispam, antivirus, ssl...) using Docker.
name: docker-mailserver
version: 4.0.4
version: 4.0.5
sources:
- https://github.com/docker-mailserver/docker-mailserver-helm
maintainers:
Expand Down
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 d61bad1

Please sign in to comment.