From 2e57ab463ef9155ca261ea4206c4b4eb7b97a560 Mon Sep 17 00:00:00 2001 From: Daniel Sy Date: Mon, 16 Jun 2025 13:09:23 +0200 Subject: [PATCH] =?UTF-8?q?feat(mail):=20=E2=9C=A8=20Update=20mailer=20con?= =?UTF-8?q?figuration=20and=20add=20credentials?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enhances the mailer setup by updating SMTP details to use secure connection and new credentials. Adds a reference to secret key for email password, improving security for email communication. --- template/stacks/forgejo/forgejo-server/values.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/template/stacks/forgejo/forgejo-server/values.yaml b/template/stacks/forgejo/forgejo-server/values.yaml index b57c62a..3b006b0 100644 --- a/template/stacks/forgejo/forgejo-server/values.yaml +++ b/template/stacks/forgejo/forgejo-server/values.yaml @@ -85,6 +85,11 @@ gitea: secretKeyRef: name: elasticsearch-cloud-credentials key: connection-string + - name: FORGEJO__mailer__PASSWD + valueFrom: + secretKeyRef: + name: email-user-credentials + key: password admin: existingSecret: gitea-credential @@ -130,10 +135,11 @@ gitea: mailer: ENABLED: true - FROM: forgejo@{{{ .Env.DOMAIN_GITEA }}} - PROTOCOL: smtp - SMTP_ADDR: mailhog.mailhog.svc.cluster.local - SMTP_PORT: 1025 + USER: ipcei-cis-devfw@mms-support.de + PROTOCOL: smtps + FROM: '"IPCEI CIS DevFW" ' + SMTP_ADDR: mail.mms-support.de + SMTP_PORT: 465 service: ssh: