From 6990b7d7bf11a42ddf510fc137fe4752f3d52307 Mon Sep 17 00:00:00 2001 From: LarryGF Date: Sun, 27 Aug 2023 17:19:45 +0200 Subject: [PATCH] Trying to use discord webhook in alertmanager --- argocd/kube-prometheus-stack/values.common.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/argocd/kube-prometheus-stack/values.common.yaml b/argocd/kube-prometheus-stack/values.common.yaml index 6c211d38..f509d16e 100644 --- a/argocd/kube-prometheus-stack/values.common.yaml +++ b/argocd/kube-prometheus-stack/values.common.yaml @@ -110,15 +110,15 @@ kube-prometheus-stack: group_wait: 30s group_interval: 5m repeat_interval: 12h - receiver: 'null' + receiver: 'discord-receiver' routes: - - receiver: 'null' + - receiver: 'discord-receiver' matchers: - alertname =~ "InfoInhibitor|Watchdog" receivers: - - name: 'discord-receiver' - webhook_configs: - - url: 'http://alertmanager-discord:9094' + - name: 'discord-receiver' + webhook_configs: + - url: 'http://alertmanager-discord:9094' templates: - '/etc/alertmanager/config/*.tmpl'