chore(gitea): Updated values for SMTP support
All checks were successful
Validate K8s manifests / validate-manifests (push) Successful in 55s
All checks were successful
Validate K8s manifests / validate-manifests (push) Successful in 55s
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
41
manifests/artemis/gitea/secret.yaml
Normal file
41
manifests/artemis/gitea/secret.yaml
Normal 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
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user