Email credentials in kubernetes/helm deployment

Hi,

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 for Elasticsearch 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?

Regards,
Andrea

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

1 Like