Argo CD With Helm: Charts, Values, and Versioned Releases
86%
Helm Hooks vs. Argo CD Hooks
Helm charts can ship their own lifecycle hooks (pre-install, post-install, pre-upgrade, and so on) to run Jobs, load a ConfigMap, or sequence resources during a release. If your Application source is a Helm chart that uses these hooks, you need to know 3 things:
- Which hooks Argo CD honors.
- How it translates them into its own hook model.
- What happens when a chart's Helm hooks collide with native Argo CD hooks on the same Application.
When Argo CD renders a chart and finds a helm.sh/hook annotation, it maps that hook to one of its own hook phases:
| Helm hook | Argo CD hook phase |
|---|---|
helm.sh/hook: pre-install | PreSync |
helm.sh/hook: pre-upgrade | PreSync |
helm.sh/hook: pre-delete | PreDelete |
helm.sh/hook: post-install | PostSync |
helm.sh/hook: post-upgrade | PostSync |
helm.sh/hook: post-delete | PostDelete |
GitOps the Hard Way, with Argo CD
Build Real GitOps Pipelines From Empty Clusters to Automated DeploysEnroll now to unlock all content and receive all future updates for free.
Unlock now $20.99$16.79Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
