Argo CD
Hard
Syncing & Deployment
An ApplicationSet sets applicationsSync: create-update, but the controller runs with --policy sync and no policy override flag. A directory is removed from Git. What happens?
Select your answer:
Show answer and explanation
Answer: The Application is deleted, since the flag wins
Explanation
When the controller's --policy flag is set explicitly, it takes precedence over the per-ApplicationSet applicationsSync field unless --enable-policy-override is also enabled. With sync in effect, the controller deletes Applications that are no longer generated. Override is allowed by default only when --policy is left empty.
More hard Argo CD questions
- A Git directory generator matches apps/*/* and names Applications '{{.path.basename}}'. Both apps/team-a/web and apps/team-b/web exist. What does the ApplicationSet controller do?
- What is a Sync Wave in Argo CD?
- How does Argo CD handle Kubernetes secrets?
- Which of the following is NOT a valid sync strategy in Argo CD?
- What is the purpose of resource hooks in Argo CD?
- What is the purpose of the ApplicationSet controller in Argo CD?