Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add PGDBNAME to database-ping-test #369

Merged
merged 4 commits into from
Dec 7, 2024

Conversation

UgurcanAkkok
Copy link
Contributor

Fix #368 by adding $PGDBNAME env var to database-ping-test.

Note that if the user uses a custom secret in the initdb, they will also need to add the dbname to the secret.

I am happy to help in case of any missing changes for the fix.

@UgurcanAkkok UgurcanAkkok changed the title add PGDBNAME to database-ping-test #368 add PGDBNAME to database-ping-test Aug 30, 2024
@itay-grudev itay-grudev added the chart( cluster ) Related to the cluster chart label Sep 3, 2024
@itay-grudev itay-grudev merged commit 6198524 into cloudnative-pg:main Dec 7, 2024
5 checks passed
yremmet pushed a commit to yremmet/charts that referenced this pull request Dec 9, 2024
* add PGDBNAME to database-ping-test cloudnative-pg#368

Signed-off-by: Uğurcan Akkök <[email protected]>

* fix(cluster): make PGDBNAME optional in ping.yaml cloudnative-pg#368

Signed-off-by: Uğurcan Akkök <[email protected]>

---------

Signed-off-by: Uğurcan Akkök <[email protected]>
Co-authored-by: Itay Grudev <[email protected]>
hapeho pushed a commit to hapeho/cloudnative-pg-charts that referenced this pull request Dec 18, 2024
* add PGDBNAME to database-ping-test cloudnative-pg#368

Signed-off-by: Uğurcan Akkök <[email protected]>

* fix(cluster): make PGDBNAME optional in ping.yaml cloudnative-pg#368

Signed-off-by: Uğurcan Akkök <[email protected]>

---------

Signed-off-by: Uğurcan Akkök <[email protected]>
Co-authored-by: Itay Grudev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart( cluster ) Related to the cluster chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database ping test fails when the username and dbname is different in initdb
3 participants