concept

Sync prune and self-heal

Self-healing lets Argo CD initiate an automated correction for live-only drift when automation is active. Without it, a live-only edit does not by itself trigger automated synchronization in the simple single-source case; later source changes or a manual sync can still overwrite drift. Failed operations, revision tracking, retries, sync windows and controller conditions complicate the real behavior. This lesson uses a simplified decision table for otherwise eligible operations, not a simulator of the actual controller.

Formal Syntax & Structure

kubernetes syntaxkubernetes
New source revision + auto enabled -> eligible to syncLive-only drift + auto enabled + selfHeal -> eligible to syncLive-only drift + auto enabled + no selfHeal -> no drift-only automatic sync

Working Example

Example Snippetkubernetes
New source revision + auto enabled -> eligible to syncLive-only drift + auto enabled + selfHeal -> eligible to syncLive-only drift + auto enabled + no selfHeal -> no drift-only automatic sync
Kubernetes Reference