mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-26 20:13:31 +02:00
refactor: components
This commit is contained in:
20
kubernetes/components/gatus/external/configmap.yaml
vendored
Normal file
20
kubernetes/components/gatus/external/configmap.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
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
|
6
kubernetes/components/gatus/external/kustomization.yaml
vendored
Normal file
6
kubernetes/components/gatus/external/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./configmap.yaml
|
Reference in New Issue
Block a user