Adding gatus-internal template.
This commit is contained in:
parent
cb31e6c0de
commit
2215eac54a
14 changed files with 41 additions and 0 deletions
|
@ -5,3 +5,4 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ../../../../templates/volsync
|
- ../../../../templates/volsync
|
||||||
|
- ../../../../templates/gatus/internal
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -6,3 +6,4 @@ resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ./pvc.yaml
|
- ./pvc.yaml
|
||||||
- ../../../../templates/volsync
|
- ../../../../templates/volsync
|
||||||
|
- ../../../../templates/gatus/internal
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -5,3 +5,4 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./externalsecret.yaml
|
- ./externalsecret.yaml
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
|
- ../../../../templates/gatus/internal
|
||||||
|
|
|
@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
|
- ../../../../templates/gatus/internal
|
||||||
|
|
|
@ -22,3 +22,4 @@ spec:
|
||||||
postBuild:
|
postBuild:
|
||||||
substitute:
|
substitute:
|
||||||
APP: *app
|
APP: *app
|
||||||
|
GATUS_SUBDOMAIN: draw
|
||||||
|
|
|
@ -5,3 +5,4 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ../../../../templates/volsync
|
- ../../../../templates/volsync
|
||||||
|
- ../../../../templates/gatus/internal
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -25,3 +25,4 @@ spec:
|
||||||
postBuild:
|
postBuild:
|
||||||
substitute:
|
substitute:
|
||||||
APP: *app
|
APP: *app
|
||||||
|
GATUS_SUBDOMAIN: search
|
||||||
|
|
|
@ -5,3 +5,4 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ./rbac.yaml
|
- ./rbac.yaml
|
||||||
|
- ../../../../templates/gatus/internal
|
||||||
|
|
|
@ -16,3 +16,7 @@ spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
retryInterval: 1m
|
retryInterval: 1m
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
postBuild:
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
GATUS_SUBDOMAIN: kubevirt
|
||||||
|
|
20
kubernetes/templates/gatus/internal/configmap.yaml
Normal file
20
kubernetes/templates/gatus/internal/configmap.yaml
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: 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
|
6
kubernetes/templates/gatus/internal/kustomization.yaml
Normal file
6
kubernetes/templates/gatus/internal/kustomization.yaml
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
|
Loading…
Reference in a new issue