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.
More on Helm, Kustomize & Multiple Sources
How does Argo CD deploy a Helm chart?BeginnerWhat are the consequences of Argo CD using `helm template` rather than `helm install`?IntermediateWhat are the ways to provide Helm values in an Application?BeginnerHow do you deploy a chart from an OCI registry?IntermediateHow does Argo CD deploy Kustomize, and what overrides can the Application set?BeginnerWhat are multiple sources, and what is the `$values` reference?Intermediate