Interview Prep/GitOps & Argo CD/Helm, Kustomize & Multiple Sources

How does Argo CD detect which tool to use for a path?

BeginnerConceptHelm, Kustomize & Multiple Sources
Answer

Unless the Application sets helm, kustomize, directory or plugin explicitly, the repo-server inspects the path: Chart.yaml means Helm, kustomization.yaml/kustomization.yml/Kustomization means Kustomize, a matching CMP discover rule means that plugin, otherwise plain directory (with Jsonnet). Setting the tool explicitly avoids surprises when someone adds a stray kustomization.yaml.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Helm, Kustomize & Multiple Sources