diff --git a/charts/docker-mailserver/Chart.yaml b/charts/docker-mailserver/Chart.yaml index 1f4f7b98..a03431dd 100644 --- a/charts/docker-mailserver/Chart.yaml +++ b/charts/docker-mailserver/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "13.3.1" description: A fullstack but simple mailserver (smtp, imap, antispam, antivirus, ssl...) using Docker. name: docker-mailserver -version: 3.0.6 +version: 3.0.7 sources: - https://github.com/docker-mailserver/docker-mailserver-helm maintainers: diff --git a/charts/docker-mailserver/templates/deployment.yaml b/charts/docker-mailserver/templates/deployment.yaml index 4dbabc8b..1823dafb 100644 --- a/charts/docker-mailserver/templates/deployment.yaml +++ b/charts/docker-mailserver/templates/deployment.yaml @@ -7,6 +7,9 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" heritage: "{{ .Release.Service }}" release: "{{ .Release.Name }}" +{{- if .Values.deployment.labels }} +{{ toYaml .Values.deployment.labels | indent 4 }} +{{ end }} name: {{ template "dockermailserver.fullname" . }} {{- if .Values.deployment.annotations }} annotations: diff --git a/charts/docker-mailserver/values.yaml b/charts/docker-mailserver/values.yaml index 0b4a6927..556f2915 100644 --- a/charts/docker-mailserver/values.yaml +++ b/charts/docker-mailserver/values.yaml @@ -28,6 +28,9 @@ deployment: ## Optionally add additional annotations to the deployment annotations: {} + ## Optionally add additional labels to the deployment + labels: {} + ## Optionally specify a runtimeClassName for the deployment runtimeClassName: