-
Hello, I am trying to setup Argo notifications. Here is my use case for clearance: We use Argo CD as a multitentant GitOps tool. This workflow leads to some dependencies on external git/helm repositories. Because this Argo CD instance is highly dynamic and syncing/deployments fail regurlarly because of the developers doing developer things ;). With argocd cli and jq you can do something like this:
This gives you all repositories with status "Failed". I wanted to build a custom trigger from that info, so something like this:
Anyways this doesn't work, the notification controller logs an error:
I am not even sure if I can build custom triggers? Is there some kind of documentation on which fields from objects I can add to a trigger? Any hint or is there another neat way to monitor the health of repos? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I believe notification controller only watches custom resources of type 'application', therefore it can't track the repo status i.e the controller will always see |
Beta Was this translation helpful? Give feedback.
I believe notification controller only watches custom resources of type 'application', therefore it can't track the repo status i.e the controller will always see
repo.connectionState.status == nil