feat(secrets): replace config maps with secrets for sensitive configurations in multiple modules
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user