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