Skip to content

Fix postgres host#582

Open
Pezhvak wants to merge 1 commit intozulip:mainfrom
Pezhvak:patch-1
Open

Fix postgres host#582
Pezhvak wants to merge 1 commit intozulip:mainfrom
Pezhvak:patch-1

Conversation

@Pezhvak
Copy link

@Pezhvak Pezhvak commented Feb 6, 2026

Using helm chart, the default config does not work, after 3-hours of investigation, i found out that the issue is here:

DB_HOST=${1:-$(su zulip -c "/home/zulip/deployments/current/scripts/get-django-setting REMOTE_POSTGRES_HOST")}

This line returns 127.0.0.1 and in kubernetes pg_isready is not gonna work, it should see the service name which is zulip-postgresql.

I've added that into values.yaml since it's required. if you think there is a better way to do this let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant