# A per-team dead man's switch (DESIGN.md §4.4) -- a different thing from # 01-server.yaml's spec.deadman, which this demo leaves unset so this CRD # is what you're actually seeing reconcile. fire-alerts.sh's "heartbeat" # scenario sends a matching alert; stop sending it and terdut-server # itself opens an incident once `timeout` passes with no heartbeat. apiVersion: terdut.ryuvia.com/v1alpha1 kind: TerdutDeadmanSwitch metadata: name: terdutdeadmanswitch-platform spec: teamRef: name: terdutteam-platform # name omitted -- terdut-server derives one from the matcher's own # canonical form (DESIGN.md §4.4). matcher: "alertname=PlatformWatchdog" timeout: 15m severity: critical