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 have a helmfile with a global "cleanup" hook and a "postsync" and "postuninstall" hook per-release. Everything works like a charm for both "sync" and "destroy" commands and the "cleanup" hook is always executed after all the releases have been processed.
However, when I start using nested states, the global "cleanup" hook for the "destroy" command gets executed at the beginning of the process, right after logging into the registry.
I honestly don't understand this behavior and I don't see it documented anywhere.
Operating system
Ubuntu 22 & Manjaro
Helmfile Version
0.144.0
Helm Version
3.9.0
Bug description
I have a helmfile with a global "cleanup" hook and a "postsync" and "postuninstall" hook per-release. Everything works like a charm for both "sync" and "destroy" commands and the "cleanup" hook is always executed after all the releases have been processed.
However, when I start using nested states, the global "cleanup" hook for the "destroy" command gets executed at the beginning of the process, right after logging into the registry.
I honestly don't understand this behavior and I don't see it documented anywhere.
Any insight will be welcome,
Thanks in advance
Steps to reproduce
https://github.com/teksuo/helmfile-nested-hook-bug
The text was updated successfully, but these errors were encountered: