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

Helm: add hooks to postgresql deployment #9556

Merged
merged 2 commits into from
Jan 19, 2022

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Jan 17, 2022

What

The bootloader has preinstall and preupgrade hooks.
The bootloader requires PostgreSQL's pod to be started.
If the DB is not ready before bootloader runs the bootloader might wait infinitely for it because of the preinstall hooks.

How

Set preinstall and preupgrade hooks on PostgreSQL resources, to make sure they're ready before the bootloader starts.

@github-actions github-actions bot added area/platform issues related to the platform kubernetes labels Jan 17, 2022
@alafanechere
Copy link
Contributor Author

This will fix #9512

@alafanechere alafanechere changed the title Helm: add hooks to posgtresql deployment Helm: add hooks to postgresql deployment Jan 17, 2022
@alafanechere alafanechere temporarily deployed to more-secrets January 17, 2022 18:12 Inactive
@alafanechere alafanechere temporarily deployed to more-secrets January 18, 2022 08:25 Inactive
@alafanechere alafanechere merged commit 9d224f2 into master Jan 19, 2022
@alafanechere alafanechere deleted the augustin/helm/postgres-hook branch January 19, 2022 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform kubernetes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants