notification

1 min read

Configures alerting dispatched when reconciliation errors occur or when a watched condition changes.

notification:
  enabled: true
  defaults:
    interval: 15m
    slackWebhookUrl: $SLACK_WEBHOOK_URL

  teams:
    platform:
      slack:
        webhook: $PLATFORM_SLACK_WEBHOOK
      email:
        - [email protected]
      interval: 5m
      message: "{{ .KatalogName }} failed on {{ .CRDName }}: {{ .Error }}"

    oncall:
      slack:
        webhook: $ONCALL_WEBHOOK
      interval: 1m

Top-level fields

FieldDefaultDescription
enabledtrue (when block declared)Gate all notification dispatch. Set false to silence everything without removing the config.
defaults.interval15mMinimum time between notifications globally. Per-team overrides this.
defaults.slackWebhookUrlGlobal fallback Slack webhook URL (supports $ENV_VAR).

teams

A named map of notification targets. Each team receives its own notifications independently.

FieldDescription
slack.webhookSlack incoming webhook URL (supports $ENV_VAR).
emailList of email recipients. Requires SMTP env vars configured at startup.
intervalPer-team minimum interval between notifications. Overrides defaults.interval.
messageGo template for the notification body.

Message template variables

VariableDescription
{{ .KatalogName }}Name of the Katalog
{{ .CRDName }}Name of the failing CRD
{{ .Error }}The reconcile error message
{{ .Namespace }}CR namespace
{{ .Name }}CR name

→ Next: katalog-providers.md