apps/gatus: detailed config

This commit is contained in:
xeruf 2024-03-04 13:42:29 +01:00
parent 66379934e9
commit cbb0bdcc00
2 changed files with 36 additions and 10 deletions

View File

@ -9,3 +9,4 @@ resources:
- meet-kustomization.yaml - meet-kustomization.yaml
- status-kustomization.yaml - status-kustomization.yaml
- sprint-kustomization.yaml - sprint-kustomization.yaml
- video-kustomizaiton.yaml

View File

@ -6,8 +6,6 @@ metadata:
data: data:
values.yaml: | values.yaml: |
# https://github.com/minicloudlabs/helm-charts/blob/main/charts/gatus/values.yaml # https://github.com/minicloudlabs/helm-charts/blob/main/charts/gatus/values.yaml
# TODO verify structure matches chart
ingress: ingress:
enabled: true enabled: true
annotations: annotations:
@ -27,11 +25,38 @@ data:
scopes: ["openid"] scopes: ["openid"]
#autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration' #autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'
# TODO Adjust gatus Mailing config config:
# mailer: alerting:
# enabled: "${outgoing_mail_enabled}" # https://github.com/TwiN/gatus?tab=readme-ov-file#configuring-email-alerts
# host: "${outgoing_mail_smtp_host}" email:
# port: "${outgoing_mail_smtp_port}" from: "${outgoing_mail_from_address}"
# username: "${outgoing_mail_smtp_user}" username: "${outgoing_mail_smtp_user}"
# password: "${outgoing_mail_smtp_password}" password: "${outgoing_mail_smtp_password}"
# fromemail: "${outgoing_mail_from_address}" host: "${outgoing_mail_smtp_host}"
port: "${outgoing_mail_smtp_port}"
to: "${outgoing_mail_from_address}"
client:
insecure: false
default-alert:
enabled: "${outgoing_mail_enabled}"
description: "health check failed"
send-on-resolved: true
failure-threshold: 9
success-threshold: 3
maintenance:
enabled: false
start: 20:00
duration: 6h
every: [Saturday, Sunday]
connectivity:
checker:
target: 1.1.1.1:53
interval: 60s
endpoints:
- name: example
url: https://example.org
interval: 60s
conditions:
- "[STATUS] == 200"
alerts:
- type: email