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

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?



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 crenshaw-dev