theshire/kubernetes/templates/gatus/guarded/configmap.yaml

24 lines
492 B
YAML
Raw Normal View History

2024-04-13 10:16:25 -05:00
---
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