-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notification - trigger is not configured using the configuration in namespace #17773
Comments
Any help from anyone please? |
@jannfis any chance you could help me with this? |
@andronux -- not sure if you have made any progress but i ran into this same issue today. after a lot of screwing around and trial and error, i have come to believe that it is now necessary to have a this example file was very helpful for me to try to figure out how this should work https://github.com/argoproj-labs/argocd-notifications/blob/master/docs/argocd-notifications-cm.yaml Ultimately I ended up w/ a configmap like this (just the data section for relevance):
and the annotation on my application like: Hope this helps! |
@ericjmooney did you get same error message? Also in which namespace is your app running? To me this looks like having trigger and template definitions in I see same error on 2.12.0 |
@andronux so I tested it out and if I create new configmap with triggers and templates in namespace where application is running, then the error message is gone.... In the debug logs I can see that it is trying to send slack message now, however failing because invalid auth... I think it will need also secrets in that namespace.... Just for reference this is the configmap I created manually:
|
Just small realization, it is not actually error message I guess. What is happening is that it will try to look for configuration with namespace where app is running and if it does not find, it will print that message. After that it will look into argocd namespace for those triggers and templates |
Application is running in different namespace in different cluster, how to configure it |
Hello everyone,
version: argocd:v2.10.6
I keep getting the following error:
argocd-notifications-controller-65664f4d96-zvxgm notifications-controller time="2024-04-08T08:56:18Z" level=debug msg="Failed to execute condition of trigger on-health-degraded: trigger 'on-health-degraded' is not configured using the configuration in namespace argocd" resource=argocd/kube-prometheus-stack
Although I have my service/triggers/templates configured in the configmap argocd-notifications-cm.
Am I missing something here?
Thanks
The text was updated successfully, but these errors were encountered: