From b3741aaf7aa644bd9bcf33f7a7465f987a7c62ca Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Thu, 20 Feb 2025 11:05:50 +0545 Subject: [PATCH] fixture(matchQuery): notifications --- fixtures/notifications/config-health-match-query.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fixtures/notifications/config-health-match-query.yaml diff --git a/fixtures/notifications/config-health-match-query.yaml b/fixtures/notifications/config-health-match-query.yaml new file mode 100644 index 00000000..fccd8f1d --- /dev/null +++ b/fixtures/notifications/config-health-match-query.yaml @@ -0,0 +1,11 @@ +apiVersion: mission-control.flanksource.com/v1 +kind: Notification +metadata: + name: config-alerts +spec: + events: + - config.unhealthy + - config.warning + filter: matchQuery(.config, "type=Kubernetes::Pod,Kubernetes::Deployment name!=postgres tags.cluster=prod") + to: + email: alerts@acme.com \ No newline at end of file