An in-cluster SMTP relay: Postfix from bokysan/docker-postfix, which workloads use to send mail without each one holding credentials for the outside mail server.
Wrapper around the upstream mail chart, pulled in
as a dependency so the chart updater follows its releases.
What KubeAid changes
mail.recreateOnRedeploy: false. Upstream defaults totrue, which stampsdate/deploy-date: <now>into the pod template so everyhelm upgraderestarts the pod. Under Argo CD the chart is rendered continuously, so the app never reaches Synced and every sync restarts mail. The chart'schecksum/configmapannotation still restarts the pod when the configuration changes.
Key values
Upstream values live under the mail: key. The ones a cluster usually sets:
| Parameter | Description |
|---|---|
mail.config.general.RELAYHOST | Where Postfix forwards mail |
mail.config.general.ALLOWED_SENDER_DOMAINS | Sender domains the relay accepts |
mail.config.general.TZ | Time zone for the logs |
See the upstream values for the rest.
Upgrading from the vendored copy
Before 5.1.0 this directory held a copy of the upstream chart whose appVersion was the
placeholder v1.0.0, and the chart uses appVersion as the image tag. Clusters on that copy run
boky/postfix:v1.0.0, released in January 2019. Moving to this chart moves them to
boky/postfix:v5.1.0, which also changes the base image from Alpine to Debian slim (upstream v4).
After syncing, send a test mail through the relay.