Argo CD
Medium
Application Management
What does setting spec.syncPolicy.preserveResourcesOnDeletion to true change in an ApplicationSet?
Select your answer:
Show answer and explanation
Answer: Applications get no resources finalizer, so their workloads stay
Explanation
Without this setting, the ApplicationSet controller adds resources-finalizer.argocd.argoproj.io to each generated Application, so deleting the Application also deletes what it deployed. With it set to true the finalizer isn't added: Applications can still be deleted, but their resources stay in the cluster. Keeping the Applications themselves is the job of applicationsSync: create-update.
More medium Argo CD questions
- Which of the following is NOT a core component of Argo CD?
- What is the purpose of the Argo CD Application Controller?
- What is a Project in Argo CD?
- Which of the following is NOT a valid sync option in Argo CD?
- What is the purpose of the 'argocd app diff' command?
- Which of the following tools can be used to define application manifests in Argo CD?