Does Argo CD trigger only upon modification of the tracked folder?

Viewed 608

When we set up Argo CD to track a folder in a repository, let's say my application repo has a deployment folder tracked by Argo CD, the question is: does Argo trigger only if the tracked folder is modified or any change to the repo will cause it to trigger?

1 Answers

Argo CD cannot assume that changes in other directories won't affect an application's manifests. For example, a Kustomize application might reference a ../base directory. So, by default, Argo CD will refresh the application on any change to the source repository.

If you know that Argo CD should only refresh on changes to certain directories, you can use the argocd.argoproj.io/manifest-generate-paths annotation to limit refreshes.

Related