sync policy
The Application setting that decides whether Argo CD syncs automatically and whether it prunes and self-heals.
In more detail
With automated sync, new commits are applied without a click. Prune and selfHeal are separate options, each a deliberate choice.
Example
syncPolicy:
automated:
prune: true
selfHeal: trueRelated terms
- self heal — An Argo CD option that re-applies the desired state when someone changes a live resource by hand.
- prune — Deleting live resources that no longer appear in the desired state in Git.
- Argo CD Application — The Argo CD object that connects a source (repository, revision and path) to a destination (cluster and namespace).
Taught in
- Two Ways Back From 2.5: Rollback The GitOps Way — Certified GitOps Associate (CGOA) Exam Prep
- An Hour Without Payments: Continuously Reconciled — Certified GitOps Associate (CGOA) Exam Prep
- Principles Sprint: Six Setups, One Question — Certified GitOps Associate (CGOA) Exam Prep
- A Bake-Off With One Rule: Argo CD And Flux — Certified GitOps Associate (CGOA) Exam Prep
- Drift Detection and Self-Healing — Continuous Integration & Continuous Delivery Pipelines