2024-02-20 10:50:05 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: stackspin-gatus-values
|
|
|
|
namespace: stackspout
|
|
|
|
data:
|
|
|
|
values.yaml: |
|
|
|
|
# https://github.com/minicloudlabs/helm-charts/blob/main/charts/gatus/values.yaml
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/tls-acme: "true"
|
|
|
|
hosts: [ "${gatus_domain}" ]
|
|
|
|
tls:
|
|
|
|
- secretName: gatus-tls
|
|
|
|
hosts:
|
|
|
|
- "${gatus_domain}"
|
|
|
|
|
|
|
|
security:
|
|
|
|
oidc:
|
|
|
|
issuer-url: "https://${hydra_domain}"
|
|
|
|
redirect-url: "https://${gatus_domain}/authorization-code/callback"
|
|
|
|
client-id: "${client_id}"
|
|
|
|
client-secret: "${client_secret}"
|
|
|
|
scopes: ["openid"]
|
|
|
|
#autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'
|
|
|
|
|
2024-03-04 12:42:29 +00:00
|
|
|
config:
|
|
|
|
alerting:
|
|
|
|
# https://github.com/TwiN/gatus?tab=readme-ov-file#configuring-email-alerts
|
|
|
|
email:
|
|
|
|
from: "${outgoing_mail_from_address}"
|
|
|
|
username: "${outgoing_mail_smtp_user}"
|
|
|
|
password: "${outgoing_mail_smtp_password}"
|
|
|
|
host: "${outgoing_mail_smtp_host}"
|
2024-03-04 14:10:48 +00:00
|
|
|
port: ${outgoing_mail_smtp_port}
|
2024-03-04 12:42:29 +00:00
|
|
|
to: "${outgoing_mail_from_address}"
|
|
|
|
client:
|
|
|
|
insecure: false
|
|
|
|
default-alert:
|
2024-03-04 14:10:48 +00:00
|
|
|
enabled: ${outgoing_mail_enabled}
|
2024-03-04 12:42:29 +00:00
|
|
|
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
|