From aa8d2f22ff699f37ffc3cc0de8a74a091896f701 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Mon, 24 Mar 2025 00:16:58 -0500 Subject: [PATCH] updated gitea settings to use postgres db and external domain --- apps/production/gitea/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/production/gitea/deployment.yaml b/apps/production/gitea/deployment.yaml index 0fc1cef..1272025 100644 --- a/apps/production/gitea/deployment.yaml +++ b/apps/production/gitea/deployment.yaml @@ -29,7 +29,7 @@ spec: - name: DB_TYPE value: "postgres" - name: DB_HOST - value: "postgres.postgres.svc.cluster.local:5432" # Adjust if needed; use full DNS if cross-namespace. + value: "postgres-service.postgres.svc.cluster.local:5432" - name: DB_NAME value: "gitea" - name: DB_USER @@ -37,8 +37,8 @@ spec: - name: DB_PASS valueFrom: secretKeyRef: - name: gitea-db-secret - key: password + name: gitea-db-secret + key: password volumeMounts: - name: gitea-data mountPath: /data