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:
|
||||
- ./helmrelease.yaml
|
||||
- ../../../../templates/volsync
|
||||
- ../../../../templates/gatus/internal
|
||||
|
|
|
@ -28,3 +28,4 @@ spec:
|
|||
VOLSYNC_CAPACITY: 5Gi
|
||||
VOLSYNC_STORAGECLASS: openebs-zfs
|
||||
VOLSYNC_SNAPSHOTCLASS: openebs-zfs
|
||||
GATUS_SUBDOMAIN: chat
|
||||
|
|
|
@ -6,3 +6,4 @@ resources:
|
|||
- ./helmrelease.yaml
|
||||
- ./pvc.yaml
|
||||
- ../../../../templates/volsync
|
||||
- ../../../../templates/gatus/internal
|
||||
|
|
|
@ -30,3 +30,4 @@ spec:
|
|||
VOLSYNC_CAPACITY: 5Gi
|
||||
VOLSYNC_STORAGECLASS: openebs-zfs
|
||||
VOLSYNC_SNAPSHOTCLASS: openebs-zfs
|
||||
GATUS_SUBDOMAIN: comfyui
|
||||
|
|
|
@ -5,3 +5,4 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ../../../../templates/gatus/internal
|
||||
|
|
|
@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ../../../../templates/gatus/internal
|
||||
|
|
|
@ -22,3 +22,4 @@ spec:
|
|||
postBuild:
|
||||
substitute:
|
||||
APP: *app
|
||||
GATUS_SUBDOMAIN: draw
|
||||
|
|
|
@ -5,3 +5,4 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ../../../../templates/volsync
|
||||
- ../../../../templates/gatus/internal
|
||||
|
|
|
@ -5,6 +5,7 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ../../../../templates/gatus/internal
|
||||
configMapGenerator:
|
||||
- name: searxng-configmap
|
||||
files:
|
||||
|
|
|
@ -25,3 +25,4 @@ spec:
|
|||
postBuild:
|
||||
substitute:
|
||||
APP: *app
|
||||
GATUS_SUBDOMAIN: search
|
||||
|
|
|
@ -5,3 +5,4 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ./rbac.yaml
|
||||
- ../../../../templates/gatus/internal
|
||||
|
|
|
@ -16,3 +16,7 @@ spec:
|
|||
interval: 30m
|
||||
retryInterval: 1m
|
||||
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