Argo CD
Hard
GitOps Workflows
A Git directory generator lists path apps/web, then path apps/* with exclude: true. Which directories under apps/ produce Applications?
Select your answer:
Show answer and explanation
Answer: None of them
Explanation
Exclude rules always take precedence over include rules, and the order of entries in the directories list doesn't matter. apps/web matches the apps/* exclude pattern, so it is dropped along with everything else. To deploy only some directories, include the wide pattern and exclude the specific paths instead.
More hard Argo CD questions
- 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?
- 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?