Argo CD
Hard
Troubleshooting & Debugging
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?
Select your answer:
Show answer and explanation
Answer: Creates neither and reports a duplicate name error
Explanation
The controller validates generated Applications before applying them and flags names that appear more than once, setting an ErrorOccurred condition with a message that the ApplicationSet contains applications with duplicate name: web. Because both entries share the same name, neither passes validation. Building the name from more than one segment, such as the team and the basename, avoids the collision.
More hard Argo CD questions
- 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?
- Which of the following is NOT a valid generator in ApplicationSet?