This repository has been archived on 2025-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
theshire/kubernetes/templates/gatus/guarded/configmap.yaml

24 lines
No EOL
492 B
YAML

---
apiVersion: v1
kind: ConfigMap
metadata:
name: "${APP}-gatus-ep"
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: "${APP}"
group: guarded
url: 1.1.1.1
interval: 1m
ui:
hide-hostname: true
hide-url: true
dns:
query-name: "${GATUS_SUBDOMAIN:-${APP}}.hsn.dev"
query-type: A
conditions:
- "len([BODY]) == 0"
alerts:
- type: pushover