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
The `--auto-prune` flag on `argocd app set` enables automatic deletion (pruning) of resources that are no longer defined in Git.
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?