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

20 lines
456 B
YAML
Raw Permalink 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: external
url: "https://${GATUS_SUBDOMAIN:-${APP}}.hsn.dev${GATUS_PATH:-/}"
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
conditions:
- "[STATUS] == ${GATUS_STATUS:-200}"
alerts:
- type: pushover