Question: discovery of related ArgocD apps
Opened this issue · 1 comments
reggie-k commented
How are the ArgoCD apps that would be affected by a code change in a PR are discovered?
djeebus commented
Good question!
- Assuming you've got argocd app monitoring enabled via
KUBECHECKS_MONITOR_ALL_APPLICATIONS
, kubechecks pulls all application and application sets, and creates a map apps to files and folders. - When a pull request comes in, all changed files are processed against that map, and kubechecks figures out which applications have been modified.
- It also checks the root of the repo for a file called
.kubechecks.yml
for paths and application names, but this is mostly obsolete now that argocd applications are directly monitored.