apiVersion: v1 stringData: alertmanager.yaml: | global: resolve_timeout: 15m route: group_by: ['alertname'] group_wait: 1m group_interval: 5m repeat_interval: 3h receiver: devnull routes: - receiver: prometheus-msteams match: severity: none - receiver: prometheus-msteams match: severity: info continue: true - receiver: prometheus-msteams match: severity: warning continue: true - receiver: prometheus-msteams match: severity: critical continue: true inhibit_rules: - source_match: alertname: "Watchdog" target_match: alertname: "KubeSchedulerDown" equal: [prometheus] - source_match: alertname: "Watchdog" target_match: alertname: "KubeControllerManagerDown" equal: [prometheus] receivers: - name: devnull - name: prometheus-msteams webhook_configs: - url: "http://prometheus-msteams:2000/alert" send_resolved: true kind: Secret metadata: name: {{ .Values.bootstrap.alertmanager_config_secret_name }} namespace: cert-manager type: Opaque