alertmanagerconfig-ntfy-webhook.yaml 636 B

1234567891011121314151617181920212223242526
  1. apiVersion: monitoring.coreos.com/v1alpha1
  2. kind: AlertmanagerConfig
  3. metadata:
  4. name: alertmanagerconfig-ntfy-webhook
  5. namespace: monitoring
  6. labels:
  7. alertmanagerConfig: ntfy-webhook
  8. spec:
  9. route:
  10. groupBy: ['job']
  11. groupWait: 30s
  12. groupInterval: 5m
  13. repeatInterval: 12h
  14. receiver: 'ntfy'
  15. receivers:
  16. - name: 'ntfy'
  17. webhookConfigs:
  18. - url: 'http://ntfy-alertmanager.monitoring.svc.cluster.local/'
  19. httpConfig:
  20. basicAuth:
  21. username:
  22. name: ntfy-alertmanager-user
  23. key: name
  24. password:
  25. name: ntfy-alertmanager-user
  26. key: password