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:
georglauterbach 2024-03-11 11:56:38 +01:00
parent 57fa50685b
commit db20aaaa40
No known key found for this signature in database
GPG Key ID: F367F7C43C118578
1 changed files with 6 additions and 2 deletions

View File

@ -650,6 +650,9 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr
- name: smtp-proxy
containerPort: 25
protocol: TCP
- name: imap-proxy
containerPort: 143
protocol: TCP
- name: subs-proxy
containerPort: 465
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
- name: smtp-proxy
containerPort: 10025
# not 10025 in this example due to a possible clash with Amavis
containerPort: 12525
protocol: TCP
- name: imap-proxy
containerPort: 10143