Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Multiple Notification alerts email on trigger on-deployed #409

Open
Rohit-Tanwar opened this issue Jun 13, 2022 · 0 comments
Open

Multiple Notification alerts email on trigger on-deployed #409

Rohit-Tanwar opened this issue Jun 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Rohit-Tanwar
Copy link

Summary

I've recently set up 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.

Diagnostics

We are using eks 1.21

Argocd:quay.io/argoproj/argocd:v2.1.5
Argocd notification:argocd-notifications:v1.1.0

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'
@Rohit-Tanwar Rohit-Tanwar added the bug Something isn't working label Jun 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant