From f0e92fbe760b9baa3d41f087b373d266d9228e8e Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 13 Apr 2024 10:45:41 -0500 Subject: [PATCH] Adding Immich Postgres to Gatus --- kubernetes/apps/media/immich/app/gatus.yaml | 21 +++++++++++++++++++ .../apps/media/immich/app/kustomization.yaml | 1 + 2 files changed, 22 insertions(+) create mode 100644 kubernetes/apps/media/immich/app/gatus.yaml diff --git a/kubernetes/apps/media/immich/app/gatus.yaml b/kubernetes/apps/media/immich/app/gatus.yaml new file mode 100644 index 00000000..5db8d1f7 --- /dev/null +++ b/kubernetes/apps/media/immich/app/gatus.yaml @@ -0,0 +1,21 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: immich-postgres-gatus-ep + labels: + gatus.io/enabled: "true" +data: + config.yaml: | + endpoints: + - name: immich-postgres + group: infrastructure + url: tcp://immich-primary.media.svc.cluster.local:5432 + interval: 1m + ui: + hide-url: true + hide-hostname: true + conditions: + - "[CONNECTED] == true" + alerts: + - type: pushover \ No newline at end of file diff --git a/kubernetes/apps/media/immich/app/kustomization.yaml b/kubernetes/apps/media/immich/app/kustomization.yaml index ef912968..48ac0fc8 100644 --- a/kubernetes/apps/media/immich/app/kustomization.yaml +++ b/kubernetes/apps/media/immich/app/kustomization.yaml @@ -4,6 +4,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./configmap.yaml + - ./gatus.yaml - ./helmrelease.yaml - ./machine-learning - ./microservices