From d721cafc4a9dd459e85779feb5f5c7fe30e0d263 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Fri, 11 Feb 2022 15:08:02 -0300 Subject: [PATCH] Fix error with port number --- charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml | 3 ++- charts/emailleg/v1.4.0/templates/imap-ingress.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml b/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml index 5fc4493..f6e3b7f 100755 --- a/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml +++ b/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml @@ -13,6 +13,7 @@ metadata: {{- include "emailleg.labels" . | nindent 4 }} annotations: cert-manager.io/cluster-issuer: letsencrypt-prod + kubernetes.io/ingress.class: haproxy spec: tls: - hosts: @@ -31,7 +32,7 @@ spec: service: name: {{ .Release.Name }}-mail port: - number: http + number: 80 {{- else }} serviceName: {{ .Release.Name }}-mail servicePort: http diff --git a/charts/emailleg/v1.4.0/templates/imap-ingress.yaml b/charts/emailleg/v1.4.0/templates/imap-ingress.yaml index 9cb48e4..3abbe7e 100755 --- a/charts/emailleg/v1.4.0/templates/imap-ingress.yaml +++ b/charts/emailleg/v1.4.0/templates/imap-ingress.yaml @@ -33,7 +33,7 @@ spec: service: name: {{ .Release.Name }}-mail port: - number: imap + number: 143 {{- else }} serviceName: {{ .Release.Name }}-mail servicePort: imap