improve PROXY protocol ports further
Make sure that we are consistent and sound with "replace" and "add" when it comes to ports.
This commit is contained in:
parent
57fa50685b
commit
db20aaaa40
|
@ -650,6 +650,9 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr
|
||||||
- name: smtp-proxy
|
- name: smtp-proxy
|
||||||
containerPort: 25
|
containerPort: 25
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: imap-proxy
|
||||||
|
containerPort: 143
|
||||||
|
protocol: TCP
|
||||||
- name: subs-proxy
|
- name: subs-proxy
|
||||||
containerPort: 465
|
containerPort: 465
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -719,11 +722,12 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Last but not least, the `ports` section in the `Deployment` needs to be changed:
|
Last but not least, the `ports` section in the `Deployment` needs to be changed. The following ports have to be added:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: smtp-proxy
|
- name: smtp-proxy
|
||||||
containerPort: 10025
|
# not 10025 in this example due to a possible clash with Amavis
|
||||||
|
containerPort: 12525
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: imap-proxy
|
- name: imap-proxy
|
||||||
containerPort: 10143
|
containerPort: 10143
|
||||||
|
|
Loading…
Reference in New Issue