Browse Source

Fix error with port number

master
Fábio Kaiser Rauber 3 years ago
parent
commit
d721cafc4a
  1. 3
      charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml
  2. 2
      charts/emailleg/v1.4.0/templates/imap-ingress.yaml

3
charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml

@ -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

2
charts/emailleg/v1.4.0/templates/imap-ingress.yaml

@ -33,7 +33,7 @@ spec:
service: service:
name: {{ .Release.Name }}-mail name: {{ .Release.Name }}-mail
port: port:
number: imap number: 143
{{- else }} {{- else }}
serviceName: {{ .Release.Name }}-mail serviceName: {{ .Release.Name }}-mail
servicePort: imap servicePort: imap

Loading…
Cancel
Save