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 name: dovecot
labels: labels:
app: dovecot app: dovecot
tier: imap
spec: spec:
ports: ports:
- nodePort: 30024 - nodePort: 30024
port: 24 port: 24
protocol: TCP protocol: TCP
targetPort: 24 targetPort: 24
name: dovecot-lmtp
- nodePort: 30143 - nodePort: 30143
port: 143 port: 143
protocol: TCP protocol: TCP
targetPort: 143 targetPort: 143
name: dovecot-imap
- nodePort: 30993 - nodePort: 30993
port: 993 port: 993
protocol: TCP protocol: TCP
targetPort: 993 targetPort: 993
name: dovecot-imaps
selector: selector:
app: dovecot app: dovecot
tier: imap tier: imap

View File

@ -12,7 +12,10 @@ spec:
ports: ports:
- port: 30025 - port: 30025
targetPort: 25 targetPort: 25
name: postfix-smtp
- port: 30143 - port: 30143
targetPort: 143 targetPort: 143
name: postfix-auth-smtp-tls
- port: 30587 - port: 30587
targetPort: 587 targetPort: 587
name: postfix-msa