Skip to main content

Notifications

Notification allows you to receive alerts on a preferred channel when a particular set of events occur.

http-check.yaml
---
apiVersion: mission-control.flanksource.com/v1
kind: Notification
metadata:
name: http-check
namespace: default
spec:
events:
- check.passed
- check.failed
filter: check.type == 'http'
to:
connection: connection://slack/flanksource

Spec

FieldDescriptionSchemeRequiredTemplatable
eventsList of events that trigger this notification.[]stringtrue
toSpecify the receipients.Recipienttrue
titleTitle of the notification. See templatingstringtrue
templateBody of the notification. See templatingstringtrue
filterFilter of notification.string
info

The title and body (template) have default templates based on the event. Eg: Component

Recipient

FieldDescriptionSchema
personID or email of the personstring
teamID or name of the teamstring
emailEmail of the recipientstring
connectionconnection string for an external servicestring
urlSpecify shoutrrr URL directlystring
propertiesProperties for Shoutrrr (applicable if shoutrrr url is provided)map[string]string
note

You can only specify one recipient