From b56703b2d2e10f005aeb720537abac795e0c047b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Groothuis?= Date: Tue, 28 Oct 2025 11:24:27 +0100 Subject: [PATCH] chore(gitea): Updated values for SMTP support --- manifests/artemis/gitea/secret.yaml | 34 +++++------------------------ manifests/artemis/gitea/values.yaml | 2 +- 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/manifests/artemis/gitea/secret.yaml b/manifests/artemis/gitea/secret.yaml index 7a5c85f..3342e54 100644 --- a/manifests/artemis/gitea/secret.yaml +++ b/manifests/artemis/gitea/secret.yaml @@ -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 diff --git a/manifests/artemis/gitea/values.yaml b/manifests/artemis/gitea/values.yaml index d04c1c5..078cf81 100644 --- a/manifests/artemis/gitea/values.yaml +++ b/manifests/artemis/gitea/values.yaml @@ -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