Idea: helm hooks
Closed this issue · 1 comments
consideRatio commented
I think you could accomplish what you would like with the bootstrapping by using a pre-install Helm hook.
Perhaps even better may be a before-upgrade hook that inspects and ensures there is a secret created if someone deletes it or similar for robustness though.
If you go for helm hooks, I suggest using the before-hook-creation
deletion policy that can be applied with this kind of annotation:
"helm.sh/hook-delete-policy": before-hook-creation"
ErikLundJensen commented
This is an old issue. Should probably be closed with "won't fix" as it conflicts with GitOps setup (e.g. using ArgoCD where Helm hooks are not executed).