From 07dc94b12052e36da508f9304037d5171115ac68 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Sun, 28 Dec 2025 18:32:20 +0900 Subject: [PATCH] FIX(pg): pg connection in gitea initprescript --- gitea/helm-values/gitea.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/helm-values/gitea.yaml b/gitea/helm-values/gitea.yaml index 4eb09fd..5276dc2 100644 --- a/gitea/helm-values/gitea.yaml +++ b/gitea/helm-values/gitea.yaml @@ -169,7 +169,7 @@ securityContext: initPreScript: | #!/bin/sh echo "Waiting for PostgreSQL..." - until nc -z postgresql-primary.postgresql.svc.cluster.local 5432; do + until nc -z postgresql-cnpg-rw.postgresql-cnpg.svc.cluster.local 5432; do echo "Waiting for PostgreSQL to be ready..." sleep 2 done