From 6c1bf6c8c957531186d5a549f2142c57d2dd8493 Mon Sep 17 00:00:00 2001 From: Felix Lutze Date: Sat, 3 Feb 2024 21:36:23 +0000 Subject: [PATCH 1/3] Fix nil pointer error in Helm chart by correcting tls secret reference --- charts/docker-mailserver/templates/ingress-rspamd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/docker-mailserver/templates/ingress-rspamd.yaml b/charts/docker-mailserver/templates/ingress-rspamd.yaml index 9aadb4b4..af5a38d7 100644 --- a/charts/docker-mailserver/templates/ingress-rspamd.yaml +++ b/charts/docker-mailserver/templates/ingress-rspamd.yaml @@ -28,7 +28,7 @@ spec: {{ if .Values.rspamd.ingress.tls.enabled }} tls: - - secretName: {{ .Values.ingress.tls.secret }} + - secretName: {{ .Values.rspamd.ingress.tls.secret }} hosts: - {{ .Values.rspamd.ingress.host }} {{- end }} From 6368ef1688b00f3c974fcd2323c6f7591c2062de Mon Sep 17 00:00:00 2001 From: Felix Lutze Date: Sat, 3 Feb 2024 21:39:29 +0000 Subject: [PATCH 2/3] Fix incorrect environment variable for enabling POP3 --- charts/docker-mailserver/templates/deployment.yaml | 2 +- charts/docker-mailserver/templates/service.yaml | 2 +- charts/docker-mailserver/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/docker-mailserver/templates/deployment.yaml b/charts/docker-mailserver/templates/deployment.yaml index 2e01d1bb..b738134c 100644 --- a/charts/docker-mailserver/templates/deployment.yaml +++ b/charts/docker-mailserver/templates/deployment.yaml @@ -181,7 +181,7 @@ spec: {{- end }} {{- end }} - {{- if and (.Values.deployment.env.ENABLE_POP) (not .Values.deployment.env.SMTP_ONLY) }} + {{- if and (.Values.deployment.env.ENABLE_POP3) (not .Values.deployment.env.SMTP_ONLY) }} - name: pop3 containerPort: 110 - name: pop3s diff --git a/charts/docker-mailserver/templates/service.yaml b/charts/docker-mailserver/templates/service.yaml index f90f2bdf..2298d429 100644 --- a/charts/docker-mailserver/templates/service.yaml +++ b/charts/docker-mailserver/templates/service.yaml @@ -83,7 +83,7 @@ spec: {{- end }} {{- end }} - {{- if and (.Values.deployment.env.ENABLE_POP) (not .Values.deployment.env.SMTP_ONLY) }} + {{- if and (.Values.deployment.env.ENABLE_POP3) (not .Values.deployment.env.SMTP_ONLY) }} - name: pop3 targetPort: pop3 port: 110 diff --git a/charts/docker-mailserver/values.yaml b/charts/docker-mailserver/values.yaml index 6b4735ea..9f3f94de 100644 --- a/charts/docker-mailserver/values.yaml +++ b/charts/docker-mailserver/values.yaml @@ -458,7 +458,7 @@ configMaps: } {{- end -}} - {{- if and (.Values.deployment.env.ENABLE_POP) (not .Values.deployment.env.SMTP_ONLY) }} + {{- if and (.Values.deployment.env.ENABLE_POP3) (not .Values.deployment.env.SMTP_ONLY) }} service pop3-login { inet_listener pop3 { port = 110 From 3639c414a464ea4f7fd2cd0a4acc7961c6531564 Mon Sep 17 00:00:00 2001 From: Felix Lutze Date: Sat, 3 Feb 2024 23:56:08 +0000 Subject: [PATCH 3/3] changed cart version from 3.0.1 to 3.0.2 --- charts/docker-mailserver/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/docker-mailserver/Chart.yaml b/charts/docker-mailserver/Chart.yaml index 2a0c6539..36f8c554 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.1 +version: 3.0.2 sources: - https://github.com/docker-mailserver/docker-mailserver-helm maintainers: