Interview Prep/Helm/Hooks, Tests & Validation

List all hook types and when they run.

BeginnerConceptHooks, Tests & Validation
Answer
Hook Runs
pre-install after rendering, before any release resource is created
post-install after all resources are created (and ready, with --wait)
pre-upgrade after rendering, before any resource is updated
post-upgrade after resources are updated
pre-rollback / post-rollback around a rollback
pre-delete / post-delete around helm uninstall
test only when you run helm test

One resource can carry several: "helm.sh/hook": post-install,pre-upgrade.

All Helm questions Roadmap: Helm

More on Hooks, Tests & Validation