theshire/kubernetes/templates/gatus/guarded/configmap.yaml
2024-04-13 10:26:42 -05:00

24 lines
No EOL
499 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: 10.1.1.1
interval: 1m
ui:
hide-hostname: true
hide-url: true
dns:
query-name: "${GATUS_SUBDOMAIN:-${APP}}.jahanson.tech"
query-type: A
conditions:
- "len([BODY]) == 0"
alerts:
- type: pushover