feat: webhook

This commit is contained in:
auricom
2025-04-16 09:36:06 +02:00
parent 7372e1cb94
commit e14d7c3bb4
134 changed files with 951 additions and 264 deletions

View File

@@ -0,0 +1,11 @@
endpoints:
- name: "${APP}"
group: external
url: "https://${GATUS_SUBDOMAIN:-${APP}}.${SECRET_EXTERNAL_DOMAIN}${GATUS_PATH:-/}"
interval: 1m
client:
dns-resolver: tcp://192.168.8.1:53
conditions:
- "[STATUS] == ${GATUS_STATUS:-200}"
alerts:
- type: pushover

View File

@@ -1,20 +0,0 @@
---
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}}.${SECRET_EXTERNAL_DOMAIN}${GATUS_PATH:-/}"
interval: 1m
client:
dns-resolver: tcp://192.168.8.1:53
conditions:
- "[STATUS] == ${GATUS_STATUS:-200}"
alerts:
- type: pushover

View File

@@ -1,6 +1,13 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./configmap.yaml
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
configMapGenerator:
- name: ${APP}-gatus-ep
files:
- config.yaml=./config.yaml
options:
labels:
gatus.io/enabled: "true"
generatorOptions:
disableNameSuffixHash: true

View File

@@ -0,0 +1,12 @@
endpoints:
- name: "${APP}"
group: guarded
url: "https://${GATUS_SUBDOMAIN:-${APP}}.${GATUS_DOMAIN:-${SECRET_EXTERNAL_DOMAIN}}${GATUS_PATH:-/}"
interval: 1m
ui:
hide-hostname: true
hide-url: true
conditions:
- "[STATUS] == ${GATUS_STATUS:-200}"
alerts:
- type: pushover

View File

@@ -1,21 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: "${APP}-gatus-ep"
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: "${APP}"
group: guarded
url: "https://${GATUS_SUBDOMAIN:-${APP}}.${GATUS_DOMAIN:-${SECRET_EXTERNAL_DOMAIN}}${GATUS_PATH:-/}"
interval: 1m
ui:
hide-hostname: true
hide-url: true
conditions:
- "[STATUS] == ${GATUS_STATUS:-200}"
alerts:
- type: pushover

View File

@@ -1,6 +1,13 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./configmap.yaml
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
configMapGenerator:
- name: ${APP}-gatus-ep
files:
- config.yaml=./config.yaml
options:
labels:
gatus.io/enabled: "true"
generatorOptions:
disableNameSuffixHash: true