From f04d515c44aed2fd8e9266fdec0f1f72534b610f Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Tue, 8 Feb 2022 10:48:39 -0300 Subject: [PATCH] Configured mail service ports --- charts/emailleg/v1.4.0/templates/service.yaml | 14 +++++++++++++- charts/emailleg/v1.4.0/values.yaml | 1 - 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/charts/emailleg/v1.4.0/templates/service.yaml b/charts/emailleg/v1.4.0/templates/service.yaml index abae9b1..48c3e45 100755 --- a/charts/emailleg/v1.4.0/templates/service.yaml +++ b/charts/emailleg/v1.4.0/templates/service.yaml @@ -7,9 +7,21 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.port }} + - port: 80 targetPort: http protocol: TCP name: http + - port: 143 + targetPort: imap + protocol: TCP + name: imap + - port: 110 + targetPort: pop + protocol: TCP + name: pop + - port: 25 + targetPort: smtp + protocol: TCP + name: smtp selector: {{- include "emailleg.selectorLabels" . | nindent 4 }} diff --git a/charts/emailleg/v1.4.0/values.yaml b/charts/emailleg/v1.4.0/values.yaml index 046b07a..84a6a2f 100755 --- a/charts/emailleg/v1.4.0/values.yaml +++ b/charts/emailleg/v1.4.0/values.yaml @@ -98,7 +98,6 @@ securityContext: {} service: type: ClusterIP - port: 80 ingress: enabled: false