apiVersion: v1
kind: Secret
metadata:
  labels:
    alertmanager: main
    app.kubernetes.io/component: alert-router
    app.kubernetes.io/name: alertmanager
    app.kubernetes.io/part-of: kube-prometheus
    app.kubernetes.io/version: 0.22.2
  name: alertmanager-main
  namespace: monitoring
stringData:
  alertmanager.yaml: "global:\n  resolve_timeout: 1m\n\nroute:\n  group_by: ['job']\n  group_wait: 30s\n  group_interval: 5m\n  repeat_interval: 4h\n\n  # Default receiver.\n  receiver: 'null'\n\n  # Different routes\n  routes:\n  - match:\n      alertname: Watchdog\n    receiver: 'null'\n  - receiver: 'discord-notifications'\n    continue: true\n  - receiver: 'matrix-notifications'\n  \nreceivers:\n  - name: 'null'\n  - name: 'discord-notifications'\n    webhook_configs:\n      - url: 'http://alertmanager-discord:9094'\n  - name: 'matrix-notifications'\n    webhook_configs:\n      - url: 'http://matrix-alertmanager:3000/alerts?secret=whybother'\n"
type: Opaque
