chore(gitea): Updated values for SMTP support
All checks were successful
Validate K8s manifests / validate-manifests (push) Successful in 55s

This commit is contained in:
Daniël Groothuis
2025-10-28 11:11:43 +01:00
parent 3f204a8719
commit efb2e7a7b1
3 changed files with 47 additions and 3 deletions

View File

@@ -4,6 +4,9 @@ kind: Kustomization
metadata: metadata:
name: gitea name: gitea
resources:
- secret.yaml
helmCharts: helmCharts:
- name: gitea - name: gitea
repo: https://dl.gitea.com/charts/ repo: https://dl.gitea.com/charts/

View File

@@ -0,0 +1,41 @@
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: gitea-smtp-secret
spec:
refreshInterval: 1h
secretStoreRef:
name: platform
kind: ClusterSecretStore
target:
name: gitea-smtp-secret
data:
- secretKey: mailer.PASSWD
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

View File

@@ -444,9 +444,9 @@ gitea:
# PASSWORD_COMPLEXITY: spec # PASSWORD_COMPLEXITY: spec
## @param gitea.additionalConfigSources Additional configuration from secret or configmap ## @param gitea.additionalConfigSources Additional configuration from secret or configmap
additionalConfigSources: [] additionalConfigSources:
# - secret: - secret:
# secretName: gitea-app-ini-oauth secretName: gitea-smtp-secret
# - configMap: # - configMap:
# name: gitea-app-ini-plaintext # name: gitea-app-ini-plaintext