@ -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
@ -33,7 +33,7 @@ spec:
number: imap
number: 143
servicePort: imap