feat(mail): Update mailer configuration and add credentials

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.
This commit is contained in:
Daniel Sy 2025-06-16 13:09:23 +02:00
parent c87a920b74
commit 2e57ab463e
Signed by: Daniel.Sy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -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" <ipcei-cis-devfw@mms-support.de>'
SMTP_ADDR: mail.mms-support.de
SMTP_PORT: 465
service:
ssh: