This repository was archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
ArgoCD Email on-health-degraded does not work #414
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Hi team, argocd does not send an email when the health of the application degrades. However it can still send an email on sync success.
Diagnostics
What Kubernetes provider are you using?
Google Cloud Platform
What version of Argo CD and Argo CD Notifications are you running?
argocd: v2.3.4+ac8b7df
BuildDate: 2022-05-18T13:06:25Z
GitCommit: ac8b7df9467ffcc0920b826c62c4b603a7bfed24
GitTreeState: clean
GoVersion: go1.17.9
Compiler: gc
Platform: linux/amd64
argocd-server: v2.4.0+91aefab
BuildDate: 2022-06-10T17:23:37Z
GitCommit: 91aefabc5b213a258ddcfe04b8e69bb4a2dd2566
GitTreeState: clean
GoVersion: go1.18.3
Compiler: gc
Platform: linux/amd64
Kustomize Version: v4.4.1 2021-11-11T23:36:27Z
Helm Version: v3.8.1+g5cb9af4
Kubectl Version: v0.23.1
Jsonnet Version: v0.18.0
Config map
trigger.on-health-degraded: |
- description: Application has degraded
send:
- app-health-degraded
when: app.status.health.status == 'Degraded'
// No output
kubectl logs argocd-notifications-controller-69bf646f87-mzmqc -n argocd | grep 'Degraded'
argo app list
NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO PATH TARGET
sgdecoding-online-scaled https://kubernetes.default.svc production default Synced Degraded Auto-Prune <none> [email protected]:kaikiat/argo-project.git /helm/sgdecoding-online-scaled HEAD
The health is degraded but no email is sent. I am wondering if anyone have any insights / solutions on this issue. Thank you !
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working