feat(secrets): replace config maps with secrets for sensitive configurations in multiple modules

This commit is contained in:
2025-05-11 20:17:35 +02:00
parent 457f2bd810
commit 19f599e502
5 changed files with 69 additions and 25 deletions
@@ -26,6 +26,9 @@ postconf -e "mydestination=$MY_DESTINATION"
postconf -e "relayhost=[$SMTP_HOST]:$SMTP_PORT"
postconf -e "smtp_sasl_auth_enable=yes"
postconf -e "smtp_sasl_password_maps=static:$SMTP_USER:$SMTP_PASSWORD"
# clear the password from memory
unset SMTP_USER
unset SMTP_PASSWORD
postconf -e "smtp_sasl_security_options=noanonymous"
postconf -e "smtp_tls_security_level=encrypt"
postconf -e "smtp_use_tls=yes"