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 apiVersion: external-secrets.io/v1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
name: gitea-smtp-secret name: gitea-conf-smtp
spec: spec:
refreshInterval: 1h refreshInterval: 1h
secretStoreRef: secretStoreRef:
name: platform name: platform
kind: ClusterSecretStore kind: ClusterSecretStore
target: target:
name: gitea-smtp-secret name: gitea-conf-smtp
data: data:
- secretKey: mailer.PASSWD - secretKey: mailer
remoteRef: remoteRef:
key: gitea/smtp key: gitea
property: SMTP_PASSWD property: config
- 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

View File

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