🚑 gatus configmaps

This commit is contained in:
auricom
2024-01-29 11:46:15 +01:00
parent 5adb6cb0d4
commit 78d9a667a0
25 changed files with 23 additions and 82 deletions

View File

@@ -1,26 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: atuin-gatus-ep
namespace: default
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: atuin
group: internal
url: 192.168.8.1
interval: 1m
ui:
hide-hostname: true
hide-url: true
dns:
query-name: sh.${SECRET_CLUSTER_DOMAIN}
query-type: A
conditions:
- "[BODY] == 192.168.169.101"
- "[DNS_RCODE] == NOERROR"
alerts:
- type: pushover

View File

@@ -6,4 +6,4 @@ namespace: default
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ./gatus.yaml - ../../../../templates/gatus/guarded

View File

@@ -24,3 +24,4 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_SUBDOMAIN: sh

View File

@@ -1,22 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: authelia-gatus-ep
namespace: default
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: authelia
group: external
url: https://auth.${SECRET_CLUSTER_DOMAIN}
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
insecure: true
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover

View File

@@ -5,8 +5,8 @@ kind: Kustomization
namespace: default namespace: default
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./gatus.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/external
configMapGenerator: configMapGenerator:
- name: authelia-configmap - name: authelia-configmap
files: files:

View File

@@ -6,5 +6,5 @@ namespace: default
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/external - ../../../../templates/gatus/guarded
- ../../../../templates/volsync - ../../../../templates/volsync

View File

@@ -25,4 +25,5 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_PATH: /i/
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi

View File

@@ -1,22 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: hajimari-gatus-ep
namespace: default
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: hajimari
group: internal
url: https://apps.${SECRET_CLUSTER_DOMAIN}
interval: 1m
client:
insecure: true
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover

View File

@@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: default namespace: default
resources: resources:
- ./gatus.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded

View File

@@ -6,4 +6,4 @@ namespace: default
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded - ../../../../templates/gatus/external

View File

@@ -87,6 +87,8 @@ spec:
enabled: true enabled: true
className: "nginx" className: "nginx"
annotations: annotations:
external-dns.alpha.kubernetes.io/enabled: "true"
external-dns.alpha.kubernetes.io/target: services.${SECRET_DOMAIN}.
hajimari.io/icon: simple-icons:jellyfin hajimari.io/icon: simple-icons:jellyfin
hosts: hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"

View File

@@ -26,4 +26,5 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_PATH: /web/index.html
VOLSYNC_CAPACITY: 20Gi VOLSYNC_CAPACITY: 20Gi

View File

@@ -26,3 +26,4 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_SUBDOMAIN: cash

View File

@@ -5,7 +5,7 @@ kind: Kustomization
namespace: default namespace: default
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded - ../../../../templates/gatus/external
configMapGenerator: configMapGenerator:
- name: libmedium-configmap - name: libmedium-configmap
files: files:

View File

@@ -5,4 +5,4 @@ kind: Kustomization
namespace: default namespace: default
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded - ../../../../templates/gatus/external

View File

@@ -24,3 +24,4 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_SUBDOMAIN: links

View File

@@ -25,3 +25,4 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_STATUS: "401"

View File

@@ -7,5 +7,5 @@ resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ./sync - ./sync
- ../../../../templates/gatus/guarded - ../../../../templates/gatus/external
- ../../../../templates/volsync - ../../../../templates/volsync

View File

@@ -6,7 +6,6 @@ namespace: default
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded
configMapGenerator: configMapGenerator:
- name: mailrise-configmap - name: mailrise-configmap
files: files:

View File

@@ -5,5 +5,5 @@ kind: Kustomization
namespace: default namespace: default
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded - ../../../../templates/gatus/external
- ../../../../templates/volsync - ../../../../templates/volsync

View File

@@ -25,3 +25,4 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_SUBDOMAIN: docs

View File

@@ -26,7 +26,7 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_STATUS: "401"
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
@@ -55,3 +55,4 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_STATUS: "401"

View File

@@ -6,7 +6,7 @@ namespace: default
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/gatus/guarded - ../../../../templates/gatus/external
configMapGenerator: configMapGenerator:
- name: sharry-configmap - name: sharry-configmap
files: files:

View File

@@ -27,3 +27,4 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_SUBDOMAIN: zigbee

View File

@@ -27,3 +27,4 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
GATUS_SUBDOMAIN: zwave