k8wiz
Argo CD
Medium
CLI Usage

Which flag enables automatic self-healing (sync on drift) for an Argo CD application?

Select your answer:

Show answer and explanation

Answer: --self-heal

Explanation

--self-heal makes automated sync also run when the live state drifts from Git, for example after a kubectl edit. Without it, automated sync only reacts to new commits.

Read more about Argo CD