Argo CD
Medium
Application Management
An Argo CD Application renders a Helm chart whose migration Job has helm.sh/hook: pre-upgrade. Which Argo CD hook does Argo CD treat it as?
Select your answer:
Show answer and explanation
Answer: PreSync
Explanation
Argo CD maps both helm.sh/hook: pre-install and pre-upgrade to argocd.argoproj.io/hook: PreSync, and post-install and post-upgrade to PostSync. Because every Argo CD operation is a sync, it cannot tell an install from an upgrade, so a chart with both pre hooks runs them in the same sync.
More medium Argo CD questions
- Which of the following is NOT a core component of Argo CD?
- What is the purpose of the Argo CD Application Controller?
- What is a Project in Argo CD?
- Which of the following is NOT a valid sync option in Argo CD?
- What is the purpose of the 'argocd app diff' command?
- Which of the following tools can be used to define application manifests in Argo CD?