Skip to content

Commit

Permalink
fix: update gatus config
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed May 19, 2024
1 parent 394d512 commit f0fb386
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ spec:
template:
engineVersion: v2
data:
CUSTOM_PUSHOVER_TOKEN: "{{ .GATUS_PUSHOVER_TOKEN }}"
CUSTOM_PUSHOVER_USER_KEY: "{{ .PUSHOVER_USER_KEY }}"
PUSHOVER_TOKEN: "{{ .GATUS_PUSHOVER_TOKEN }}"
PUSHOVER_USER_KEY: "{{ .PUSHOVER_USER_KEY }}"
INIT_POSTGRES_DBNAME: gatus
INIT_POSTGRES_HOST: postgres16-rw.database.svc.cluster.local
INIT_POSTGRES_USER: "{{ .GATUS_POSTGRES_USER }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
TZ: America/New_York
GATUS_CONFIG_PATH: /config
GATUS_DELAY_START_SECONDS: 5
CUSTOM_WEB_PORT: &port 80
WEB_PORT: &port 80
envFrom: *envFrom
probes:
liveness: &probes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Note: Gatus vars should be escaped with $${VAR_NAME} to avoid interpolation by Flux
web:
port: $${CUSTOM_WEB_PORT}
port: $${WEB_PORT}
storage:
type: postgres
path: postgres://$${INIT_POSTGRES_USER}:$${INIT_POSTGRES_PASS}@$${INIT_POSTGRES_HOST}:5432/$${INIT_POSTGRES_DBNAME}?sslmode=disable
Expand All @@ -13,13 +13,15 @@ ui:
header: Status
alerting:
pushover:
application-token: $${CUSTOM_PUSHOVER_TOKEN}
user-key: $${CUSTOM_PUSHOVER_USER_KEY}
title: Gatus (Kubernetes)
application-token: $${PUSHOVER_TOKEN}
user-key: $${PUSHOVER_USER_KEY}
priority: 1
default-alert:
description: health-check failed
send-on-resolved: true
failure-threshold: 5
success-threshold: 2
failure-threshold: 3
success-threshold: 3
connectivity:
checker:
target: 1.1.1.1:53
Expand Down

0 comments on commit f0fb386

Please sign in to comment.