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.
More medium Argo CD questions
- Which flag enables automatic self-healing (sync on drift) for an Argo CD application?
- Which `argocd repo list` option forces a refresh of the repository connection status?
- By default, what happens to an application’s resources when you delete it with `argocd app delete`?
- True or False: The Argo CD Web UI allows users to manually synchronize applications.
- What can you configure in an Argo CD AppProject?
- In which Kubernetes namespace must you apply an Argo CD Application resource manifest?