k8wiz
Argo CD
Medium
CLI Usage

Which flag allows automatic pruning of unmanaged resources during sync when set via CLI?

Select your answer:

Show answer and explanation

Answer: --auto-prune

Explanation

With automated sync, --auto-prune lets Argo CD delete resources that were removed from Git. It's off by default, so removed manifests leave their objects running until someone prunes them.

Read more about Argo CD