Email credentials in kubernetes/helm deployment


I managed to set up the alerting system to send emails, but I had to add the SMTP configuration manually, in every node (like so: Monitors - Open Distro Documentation).

Now, because my deployment is containerised, deploying the credentials manually in every pod is not a long term solution. Furthermore, should one pod get killed and replaced, the new one would not have the credentials.

Is there a way to set up permanent credentials with an helm deployment in kubernetes, please?


You can maintain an external keystore file and mount that with the Docker images.

1 Like