chore(gitea): Updated values for SMTP support
Some checks failed
Validate K8s manifests / validate-manifests (push) Has been cancelled

This commit is contained in:
Daniël Groothuis
2025-10-28 11:24:27 +01:00
parent efb2e7a7b1
commit b56703b2d2
2 changed files with 6 additions and 30 deletions

View File

@@ -2,40 +2,16 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: gitea-smtp-secret
name: gitea-conf-smtp
spec:
refreshInterval: 1h
secretStoreRef:
name: platform
kind: ClusterSecretStore
target:
name: gitea-smtp-secret
name: gitea-conf-smtp
data:
- secretKey: mailer.PASSWD
- secretKey: mailer
remoteRef:
key: gitea/smtp
property: SMTP_PASSWD
- secretKey: mailer.USER
remoteRef:
key: gitea/smtp
property: SMTP_USER
- secretKey: mailer.SMTP_ADDR
remoteRef:
key: gitea/smtp
property: SMTP_ADDR
- secretKey: mailer.SMTP_PORT
remoteRef:
key: gitea/smtp
property: SMTP_PORT
- secretKey: mailer.FROM
remoteRef:
key: gitea/smtp
property: SMTP_FROM
- secretKey: mailer.ENABLED
remoteRef:
key: gitea/smtp
property: SMTP_ENABLED
- secretKey: mailer.PROTOCOL
remoteRef:
key: gitea/smtp
property: SMTP_PROTOCOL
key: gitea
property: config

View File

@@ -446,7 +446,7 @@ gitea:
## @param gitea.additionalConfigSources Additional configuration from secret or configmap
additionalConfigSources:
- secret:
secretName: gitea-smtp-secret
secretName: gitea-conf-smtp
# - configMap:
# name: gitea-app-ini-plaintext