Add names to ports

This commit is contained in:
Quentin Legot 2023-10-09 16:25:00 +02:00
parent b1b8945fb0
commit e08fa608bb
2 changed files with 6 additions and 1 deletions

View File

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

View File

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