Commit 4b24e22b authored by Tim's avatar Tim

add smtp-password to secrets + fixe mautic-secret

parent 516c9cd9
......@@ -22,4 +22,4 @@ function generate_secret_if_needed(){
secret $secret_name {{ include "mautic.standardLabels" . | replace ": " "=" | replace "\n" " " }}
}
generate_secret_if_needed $release --from-literal=mysql-password=$(gen_random 'a-zA-Z0-9' 64) --from-literal=mysql-root-password=$(gen_random 'a-zA-Z0-9' 64) --from-literal=secret=$(gen_random 'a-zA-Z0-9' 64)
generate_secret_if_needed $release --from-literal=mysql-password=$(gen_random 'a-zA-Z0-9' 64) --from-literal=mysql-root-password=$(gen_random 'a-zA-Z0-9' 64) --from-literal=mautic-secret=$(gen_random 'a-zA-Z0-9' 64) --from-literal=smtp-root-password=$(gen_random 'a-zA-Z0-9' 64)
......@@ -60,7 +60,10 @@ spec:
- name: MAILER_PORT
value: {{ .Values.mailer.port | quote }}
- name: MAILER_PASSWORD
value: {{ .Values.mailer.password | quote }}
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}
key: smtp-password
- name: MAILER_ENCRYPTION
value: {{ .Values.mailer.encryption | quote}}
- name: MAILER_AUTH_MODE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment