From bf8fdd596861a22bff74299f9d23b60644d7a08f Mon Sep 17 00:00:00 2001 From: AnJia Date: Mon, 1 Nov 2021 22:10:55 +0800 Subject: [PATCH] feat: smtp support use-ssl options (#494) --- sentry/templates/configmap-sentry.yaml | 1 + sentry/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/sentry/templates/configmap-sentry.yaml b/sentry/templates/configmap-sentry.yaml index 48af9b0f8..967b0a40b 100644 --- a/sentry/templates/configmap-sentry.yaml +++ b/sentry/templates/configmap-sentry.yaml @@ -416,6 +416,7 @@ data: ####################### SENTRY_OPTIONS['mail.backend'] = os.getenv("SENTRY_EMAIL_BACKEND", {{ .Values.mail.backend | quote }}) SENTRY_OPTIONS['mail.use-tls'] = bool(strtobool(os.getenv("SENTRY_EMAIL_USE_TLS", {{ .Values.mail.useTls | quote }}))) + SENTRY_OPTIONS['mail.use-ssl'] = bool(strtobool(os.getenv("SENTRY_EMAIL_USE_SSL", {{ .Values.mail.useSsl | quote }}))) SENTRY_OPTIONS['mail.username'] = os.getenv("SENTRY_EMAIL_USERNAME", {{ .Values.mail.username | quote }}) SENTRY_OPTIONS['mail.password'] = os.getenv("SENTRY_EMAIL_PASSWORD", {{ .Values.mail.password | quote }}) SENTRY_OPTIONS['mail.port'] = int(os.getenv("SENTRY_EMAIL_PORT", {{ .Values.mail.port | quote }})) diff --git a/sentry/values.yaml b/sentry/values.yaml index 2e61de52b..447555068 100644 --- a/sentry/values.yaml +++ b/sentry/values.yaml @@ -453,6 +453,7 @@ system: mail: backend: dummy # smtp useTls: false + useSsl: false username: "" password: "" port: 25