diff --git a/template/stacks/core/forgejo/values.yaml b/template/stacks/core/forgejo/values.yaml index 1e9f6e6..e4b2775 100644 --- a/template/stacks/core/forgejo/values.yaml +++ b/template/stacks/core/forgejo/values.yaml @@ -44,10 +44,30 @@ gitea: secretKeyRef: name: redis-forgejo-cloud-credentials key: connection-string + - name: FORGEJO__database__HOST + valueFrom: + secretKeyRef: + name: postgres-forgejo-cloud-credentials + key: host + - name: FORGEJO__database__NAME + valueFrom: + secretKeyRef: + name: postgres-forgejo-cloud-credentials + key: name + - name: FORGEJO__database__USER + valueFrom: + secretKeyRef: + name: postgres-forgejo-cloud-credentials + key: user admin: existingSecret: gitea-credential + database: + builtIn: + postgresql: + enabled: false + config: storage: MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443 @@ -74,7 +94,7 @@ gitea: SHOW_FOOTER_TEMPLATE_LOAD_TIME: false database: - DB_TYPE: sqlite3 + DB_TYPE: postgres server: DOMAIN: '{{{ .Env.DOMAIN_GITEA }}}'