|
|
|
@ -27,7 +27,6 @@ spec:
|
|
|
|
|
- matchExpressions:
|
|
|
|
|
- key: node-role.kubernetes.io/node
|
|
|
|
|
operator: Exists
|
|
|
|
|
hostNetwork: true
|
|
|
|
|
nodeSelector:
|
|
|
|
|
node-role.kubernetes.io/node: ""
|
|
|
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
|
|
@ -46,31 +45,39 @@ spec:
|
|
|
|
|
ports:
|
|
|
|
|
- name: pop3
|
|
|
|
|
containerPort: 110
|
|
|
|
|
hostPort: 110
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: pop3s
|
|
|
|
|
containerPort: 995
|
|
|
|
|
hostPort: 995
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: imap
|
|
|
|
|
containerPort: 143
|
|
|
|
|
hostPort: 143
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: imaps
|
|
|
|
|
containerPort: 993
|
|
|
|
|
hostPort: 993
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: smtp
|
|
|
|
|
containerPort: 25
|
|
|
|
|
hostPort: 25
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: smtps
|
|
|
|
|
containerPort: 465
|
|
|
|
|
hostPort: 465
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: smtpd
|
|
|
|
|
containerPort: 587
|
|
|
|
|
hostPort: 587
|
|
|
|
|
protocol: TCP
|
|
|
|
|
# internal services (not exposed externally)
|
|
|
|
|
- name: smtp-auth
|
|
|
|
|
containerPort: 10025
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: imap-auth
|
|
|
|
|
containerPort: 10143
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: smtps
|
|
|
|
|
containerPort: 465
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: smtpd
|
|
|
|
|
containerPort: 587
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: auth
|
|
|
|
|
containerPort: 8000
|
|
|
|
|
protocol: TCP
|
|
|
|
|