🩺 gatus truenas & minio

This commit is contained in:
auricom
2024-02-06 00:56:14 +01:00
parent 32abba53c3
commit 0b924d95ea
4 changed files with 8 additions and 1 deletions

View File

@@ -24,6 +24,9 @@ spec:
postBuild:
substitute:
APP: *app
GATUS_SUBDOMAIN: minio
GATUS_DOMAIN: ${SECRET_DOMAIN}
GATUS_PATH: :9001
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
@@ -76,3 +79,5 @@ spec:
postBuild:
substitute:
APP: *app
GATUS_SUBDOMAIN: truenas
GATUS_DOMAIN: ${SECRET_DOMAIN}

View File

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

View File

@@ -8,3 +8,4 @@ resources:
- ./certs-deploy
- ./externalsecret.yaml
- ./photo-sort
- ../../../../templates/gatus/guarded

View File

@@ -10,7 +10,7 @@ data:
endpoints:
- name: "${APP}"
group: guarded
url: "https://${GATUS_SUBDOMAIN:-${APP}}.${SECRET_CLUSTER_DOMAIN}${GATUS_PATH:-/}"
url: "https://${GATUS_SUBDOMAIN:-${APP}}.${GATUS_DOMAIN:-${SECRET_CLUSTER_DOMAIN}}${GATUS_PATH:-/}"
interval: 1m
ui:
hide-hostname: true