# One per team is the rule (DESIGN.md ยง4.3) -- a second TerdutEscalationRule # naming the same teamRef would just clobber this one on the next reconcile. apiVersion: terdut.ryuvia.com/v1alpha1 kind: TerdutEscalationRule metadata: name: terdutescalationrule-platform spec: teamRef: name: terdutteam-platform repeatCount: 2 fallbackTopic: platform-fallback levels: # username is required iff kind is "user", rejected otherwise -- CEL # validation at apply time (api/v1alpha1/terdutescalationrule_types.go). # alice won't exist on a fresh demo install -- see README.md for # creating a real user if you want this level to mean something, or # just watch it fall through to oncall after 5m. - timeout: 5m targets: - kind: user username: alice - timeout: 10m targets: - kind: oncall