Skip to content

Conversation

yann-soubeyrand
Copy link

These hooks seem to be useless and prevent successful deployment with certain tools (like Pulumi).

Signed-off-by: Yann Soubeyrand <[email protected]>
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Sep 11, 2025
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Sep 11, 2025
@axiomofjoy
Copy link
Contributor

Hey @yann-soubeyrand, can you share an example to show us how this prevents successful deployment on Pulumi?

@yann-soubeyrand
Copy link
Author

@axiomofjoy the Pulumi Helm Chart v4 resource (https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v4/chart/) does not support Helm hooks. What I’m wondering is what is the purpose of these hooks? They seem to be useless at first, be maybe I missed something.

@axiomofjoy
Copy link
Contributor

My understanding is these hooks are trying to ensure that Postgres starts before the Phoenix container.

@yann-soubeyrand
Copy link
Author

Hello @axiomofjoy, I’m not sure these hooks reach their objective: the Phoenix deployment has pre-install and pre-upgrade hooks, which means it will be created before every other resource deployed by the chart (including the PostgreSQL statefulset).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Status: 📘 Todo
Development

Successfully merging this pull request may close these issues.

2 participants