How are Helm hooks treated by Argo CD?
IntermediateConceptSync Waves, Hooks, Health & Diffing
Answer
Argo CD maps them: helm.sh/hook: pre-install and pre-upgrade become PreSync; post-install and post-upgrade become PostSync; helm.sh/hook-weight maps to sync wave; helm.sh/hook-delete-policy values map to Argo CD equivalents (before-hook-creation to BeforeHookCreation, hook-succeeded to HookSucceeded). Because Argo CD has no install vs upgrade distinction, install-only hooks run on every sync. pre-delete/post-delete and test hooks are not run in the same way, so check chart behaviour.