Adding gatus-internal template.

This commit is contained in:
Joseph Hanson 2024-07-26 11:15:12 -05:00
parent cb31e6c0de
commit 2215eac54a
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
14 changed files with 41 additions and 0 deletions

View file

@ -5,3 +5,4 @@ kind: Kustomization
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/volsync - ../../../../templates/volsync
- ../../../../templates/gatus/internal

View file

@ -28,3 +28,4 @@ spec:
VOLSYNC_CAPACITY: 5Gi VOLSYNC_CAPACITY: 5Gi
VOLSYNC_STORAGECLASS: openebs-zfs VOLSYNC_STORAGECLASS: openebs-zfs
VOLSYNC_SNAPSHOTCLASS: openebs-zfs VOLSYNC_SNAPSHOTCLASS: openebs-zfs
GATUS_SUBDOMAIN: chat

View file

@ -6,3 +6,4 @@ resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ./pvc.yaml - ./pvc.yaml
- ../../../../templates/volsync - ../../../../templates/volsync
- ../../../../templates/gatus/internal

View file

@ -30,3 +30,4 @@ spec:
VOLSYNC_CAPACITY: 5Gi VOLSYNC_CAPACITY: 5Gi
VOLSYNC_STORAGECLASS: openebs-zfs VOLSYNC_STORAGECLASS: openebs-zfs
VOLSYNC_SNAPSHOTCLASS: openebs-zfs VOLSYNC_SNAPSHOTCLASS: openebs-zfs
GATUS_SUBDOMAIN: comfyui

View file

@ -5,3 +5,4 @@ kind: Kustomization
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/internal

View file

@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/internal

View file

@ -22,3 +22,4 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_SUBDOMAIN: draw

View file

@ -5,3 +5,4 @@ kind: Kustomization
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/volsync - ../../../../templates/volsync
- ../../../../templates/gatus/internal

View file

@ -5,6 +5,7 @@ kind: Kustomization
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/internal
configMapGenerator: configMapGenerator:
- name: searxng-configmap - name: searxng-configmap
files: files:

View file

@ -25,3 +25,4 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_SUBDOMAIN: search

View file

@ -5,3 +5,4 @@ kind: Kustomization
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ./rbac.yaml - ./rbac.yaml
- ../../../../templates/gatus/internal

View file

@ -16,3 +16,7 @@ spec:
interval: 30m interval: 30m
retryInterval: 1m retryInterval: 1m
timeout: 5m timeout: 5m
postBuild:
substitute:
APP: *app
GATUS_SUBDOMAIN: kubevirt

View 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: internal
url: "https://${GATUS_SUBDOMAIN:-${APP}}.jahanson.tech${GATUS_PATH:-/}"
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
- "[STATUS] == ${GATUS_STATUS:-200}"
alerts:
- type: pushover

View 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