This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Multiple Notification alerts email on trigger on-deployed #408
Unanswered
Rohit-Tanwar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've recently setup the Argocd-notification but after enabling the trigger for deployment I keep on getting tons of emails for the same application.
I've tried some combinations to change the below code but it didn't work at all.
Can anyone please suggest what exactly should I set? The requirement is I want only a single notification per deployment only.
trigger.on-deployed: |
- description: Application is synced and healthy. Triggered once per commit.
oncePer: app.status.sync.revision
send:
- app-deployed
when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != 'Healthy'
Beta Was this translation helpful? Give feedback.
All reactions