From 6114cdf2f6f743dab809c9a27ef20b9254659d59 Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 14 Jul 2022 15:00:12 +0200 Subject: [PATCH] Move mailer config to environment --- src/main/resources/gitea/appini-configmap.yaml | 9 --------- src/main/resources/gitea/appini-env-configmap.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/main/resources/gitea/appini-configmap.yaml b/src/main/resources/gitea/appini-configmap.yaml index b5ecc4d..ba72074 100644 --- a/src/main/resources/gitea/appini-configmap.yaml +++ b/src/main/resources/gitea/appini-configmap.yaml @@ -90,15 +90,6 @@ data: [oauth2] ;JWT_SECRET = - [mailer] - ENABLED = false - FROM = gitea@meissa-gmbh.de - MAILER_TYPE = smtp - HOST = mail.routing.net:587 - IS_TLS_ENABLED = true - USER = - PASSWD = - [openid] ENABLE_OPENID_SIGNIN = true ENABLE_OPENID_SIGNUP = true diff --git a/src/main/resources/gitea/appini-env-configmap.yaml b/src/main/resources/gitea/appini-env-configmap.yaml index 96e9c5c..7651c47 100644 --- a/src/main/resources/gitea/appini-env-configmap.yaml +++ b/src/main/resources/gitea/appini-env-configmap.yaml @@ -12,3 +12,9 @@ data: GITEA__server__DOMAIN: FQDN GITEA__server__ROOT_URL: URL + + GITEA__mailer__ENABLED: "true" + GITEA__mailer__FROM: gitea@meissa-gmbh.de + GITEA__mailer__MAILER_TYPE: smtp + GITEA__mailer__HOST: mail.routing.net:25 + GITEA__mailer__IS_TLS_ENABLED: "true"