Added choice for SMTP server
This commit is contained in:
@@ -20,6 +20,7 @@ spec:
|
||||
- secretKey: COMPOSER_AUTH
|
||||
remoteRef:
|
||||
key: secret/GITLAB-COMPOSER-AUTH
|
||||
{{- if eq (.Values.email.smtpServer | default "smtp2go" ) "smtp2go" }}
|
||||
- secretKey: SMTP_USER
|
||||
remoteRef:
|
||||
key: secret/SMTP-USER
|
||||
@@ -29,6 +30,17 @@ spec:
|
||||
- secretKey: SMTP_HOST
|
||||
remoteRef:
|
||||
key: secret/SMTP-HOST
|
||||
{{- else }}
|
||||
- secretKey: SMTP_USER
|
||||
remoteRef:
|
||||
key: secret/AWS-SMTP-USER
|
||||
- secretKey: SMTP_PASS
|
||||
remoteRef:
|
||||
key: secret/AWS-SMTP-PASSWORD
|
||||
- secretRef: SMTP_HOST
|
||||
remoteRef:
|
||||
key: secret/AWS-SMTP-HOST
|
||||
{{- end }}
|
||||
- secretKey: WPC_REGISTRATION_SECRET
|
||||
remoteRef:
|
||||
key: secret/WPC-REGISTRATION-SECRET
|
||||
|
||||
@@ -24,6 +24,8 @@ email:
|
||||
# - customer.tld
|
||||
# emails:
|
||||
# - mail@customer.tld
|
||||
# Set the SMTP server to use for the site
|
||||
smtpServer: smtp2go
|
||||
|
||||
# Database configuration
|
||||
database:
|
||||
|
||||
Reference in New Issue
Block a user