Skip to content

Commit

Permalink
missing smtp_admin_emails env and explicit disable of smtp_mock becau…
Browse files Browse the repository at this point in the history
…se is on by default. (#21)

Signed-off-by: paulopez78 <[email protected]>
  • Loading branch information
paulopez78 authored and Travis Raines committed Jan 24, 2020
1 parent 418a769 commit 2d7af7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kong/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ maintainers:
email: [email protected]
name: kong
sources:
version: 1.1.0
version: 1.1.1
appVersion: 1.4
2 changes: 2 additions & 0 deletions charts/kong/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,12 @@ the template that it itself is using form the above sections.
{{- end }}

{{- if .Values.enterprise.smtp.enabled }}
{{- $_ := set $autoEnv "KONG_SMTP_MOCK" "off" -}}
{{- $_ := set $autoEnv "KONG_PORTAL_EMAILS_FROM" .Values.enterprise.smtp.portal_emails_from -}}
{{- $_ := set $autoEnv "KONG_PORTAL_EMAILS_REPLY_TO" .Values.enterprise.smtp.portal_emails_reply_to -}}
{{- $_ := set $autoEnv "KONG_ADMIN_EMAILS_FROM" .Values.enterprise.smtp.admin_emails_from -}}
{{- $_ := set $autoEnv "KONG_ADMIN_EMAILS_REPLY_TO" .Values.enterprise.smtp.admin_emails_reply_to -}}
{{- $_ := set $autoEnv "KONG_SMTP_ADMIN_EMAILS" .Values.enterprise.smtp.smtp_admin_emails -}}
{{- $_ := set $autoEnv "KONG_SMTP_HOST" .Values.enterprise.smtp.smtp_host -}}
{{- $_ := set $autoEnv "KONG_SMTP_PORT" .Values.enterprise.smtp.smtp_port -}}
{{- $_ := set $autoEnv "KONG_SMTP_STARTTLS" (quote .Values.enterprise.smtp.smtp_starttls) -}}
Expand Down

0 comments on commit 2d7af7a

Please sign in to comment.