Skip to content

Commit

Permalink
fix: revert gatus config
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Jun 21, 2024
1 parent 2897cb3 commit 5863484
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions kubernetes/main/apps/observability/gatus/app/config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
# Note: Gatus vars should be escaped with $${VAR_NAME} to avoid interpolation by Flux
web:
port: $${WEB_PORT}
port: ${WEB_PORT}
storage:
type: postgres
path: $${POSTGRES_URI}?sslmode=require
path: ${POSTGRES_URI}?sslmode=require
caching: true
metrics: true
debug: false
Expand All @@ -14,7 +13,7 @@ ui:
logo: https://raw.githubusercontent.com/joryirving/home-ops/main/docs/src/assets/icons/lds-transparent.png
alerting:
discord:
webhook-url: $${DISCORD_WEBHOOK_URL}
webhook-url: ${DISCORD_WEBHOOK_URL}
default-alert:
description: health-check failed
send-on-resolved: true
Expand All @@ -27,21 +26,21 @@ connectivity:
endpoints:
- name: status
group: external
url: https://status.$${SECRET_DOMAIN}
url: https://status.${SECRET_DOMAIN}
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
conditions: ["[STATUS] == 200"]
alerts: { type: discord }
alerts: [{ type: discord }]
- name: flux-webhook
group: external
url: https://flux-webhook.$${SECRET_DOMAIN}
url: https://flux-webhook.${SECRET_DOMAIN}
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
conditions: ["[STATUS] == 404"]
alerts: { type: discord }
alerts: [{ type: discord }]
remote:
instances:
- endpoint-prefix: ""
url: "https://status-utility.$${SECRET_DOMAIN}/api/v1/endpoints/statuses"
url: "https://status-utility.${SECRET_DOMAIN}/api/v1/endpoints/statuses"

0 comments on commit 5863484

Please sign in to comment.