From e08fa608bb2415502d67664a0f612c2f955cb305 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 9 Oct 2023 16:25:00 +0200 Subject: [PATCH] Add names to ports --- kustomize/dovecot-svc.yaml | 4 +++- kustomize/postfix-svc.yaml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/kustomize/dovecot-svc.yaml b/kustomize/dovecot-svc.yaml index b83cfe9..a589d80 100644 --- a/kustomize/dovecot-svc.yaml +++ b/kustomize/dovecot-svc.yaml @@ -4,21 +4,23 @@ metadata: name: dovecot labels: app: dovecot - tier: imap spec: ports: - nodePort: 30024 port: 24 protocol: TCP targetPort: 24 + name: dovecot-lmtp - nodePort: 30143 port: 143 protocol: TCP targetPort: 143 + name: dovecot-imap - nodePort: 30993 port: 993 protocol: TCP targetPort: 993 + name: dovecot-imaps selector: app: dovecot tier: imap diff --git a/kustomize/postfix-svc.yaml b/kustomize/postfix-svc.yaml index 6710fcd..19b9f62 100644 --- a/kustomize/postfix-svc.yaml +++ b/kustomize/postfix-svc.yaml @@ -12,7 +12,10 @@ spec: ports: - port: 30025 targetPort: 25 + name: postfix-smtp - port: 30143 targetPort: 143 + name: postfix-auth-smtp-tls - port: 30587 targetPort: 587 + name: postfix-msa