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