You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make use of helm pre-delete hook to clean up certain resources (via Job) before the helm chart is actually uninstalled.
When I run helm uninstall <package-name> the pre-delete hook seems to work fine, that is, the Job gets executed and upon completion the helm chart is uninstalled. However, the same helm chart via HelmRelease runs hook in parallel to helm deletion.
How can I configure HelmRelease to wait for hook to get executed before uninstalling helm chart?
Is it possible to wait for pre-delete hook job to get completed before deleting helm chart in HelmRelease?
Describe the bug
I am trying to make use of helm pre-delete hook to clean up certain resources (via Job) before the helm chart is actually uninstalled.
When I run
helm uninstall <package-name>
the pre-delete hook seems to work fine, that is, the Job gets executed and upon completion the helm chart is uninstalled. However, the same helm chart via HelmRelease runs hook in parallel to helm deletion.How can I configure HelmRelease to wait for hook to get executed before uninstalling helm chart?
Is it possible to wait for pre-delete hook job to get completed before deleting helm chart in HelmRelease?
Below is my HelmRelease file:
Steps to reproduce
Expected behavior
Job should get executed and upon completion helm chart should get uninstalled
Screenshots and recordings
No response
OS / Distro
NA
Flux version
flux: v2.1.2
Flux check
NA
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: