diff --git a/kubernetes/main/apps/database/phpmyadmin/app/gatus.yaml b/kubernetes/main/apps/database/phpmyadmin/app/gatus.yaml new file mode 100644 index 00000000..df0adc1a --- /dev/null +++ b/kubernetes/main/apps/database/phpmyadmin/app/gatus.yaml @@ -0,0 +1,24 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: "phpmyadmin-gatus-ep" + labels: + gatus.io/enabled: "true" +data: + config.yaml: | + endpoints: + - name: phpmyadmin + group: guarded + url: 1.1.1.1 + interval: 1m + ui: + hide-hostname: true + hide-url: true + dns: + query-name: "{{ .Release.Name }}.${SECRET_DOMAIN}" + query-type: A + conditions: + - "[CONNECTED] == true" + alerts: + - type: pushover diff --git a/kubernetes/main/apps/database/phpmyadmin/app/kustomization.yaml b/kubernetes/main/apps/database/phpmyadmin/app/kustomization.yaml index c6642769..0c894bd0 100644 --- a/kubernetes/main/apps/database/phpmyadmin/app/kustomization.yaml +++ b/kubernetes/main/apps/database/phpmyadmin/app/kustomization.yaml @@ -4,4 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./helmrelease.yaml - - ../../../../../shared/templates/gatus/guarded + - ./gatus.yaml + #- ../../../../../shared/templates/gatus/guarded