|
@ -13,6 +13,7 @@ metadata: |
|
|
{{- include "emailleg.labels" . | nindent 4 }} |
|
|
{{- include "emailleg.labels" . | nindent 4 }} |
|
|
annotations: |
|
|
annotations: |
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod |
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod |
|
|
|
|
|
kubernetes.io/ingress.class: haproxy |
|
|
spec: |
|
|
spec: |
|
|
tls: |
|
|
tls: |
|
|
- hosts: |
|
|
- hosts: |
|
@ -31,7 +32,7 @@ spec: |
|
|
service: |
|
|
service: |
|
|
name: {{ .Release.Name }}-mail |
|
|
name: {{ .Release.Name }}-mail |
|
|
port: |
|
|
port: |
|
|
number: http |
|
|
number: 80 |
|
|
{{- else }} |
|
|
{{- else }} |
|
|
serviceName: {{ .Release.Name }}-mail |
|
|
serviceName: {{ .Release.Name }}-mail |
|
|
servicePort: http |
|
|
servicePort: http |
|
|