apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    homelab.kubernetes.io/k8s-sidecar: gatus
  name: gatus-endpoints
data:
  ntfy-internal-gatus-endpoints.yaml: |
    endpoints:
      - name: Ntfy
        url: http://ntfy-svc.monitoring.svc.cluster.local/
        group: Internal/Monitoring
        interval: 5m 
        alerts:
          - type: ntfy
        conditions:
          - "[STATUS] == 200"
  ntfy-external-gatus-endpoints.yaml: |
    endpoints:
      - name: Ntfy
        url: https://ntfy.leechpepin.com/
        group: External
        interval: 5m 
        alerts:
          - type: ntfy
        conditions:
          - "[STATUS] == 200"