stackspout/apps/status/gatus/gatus-values-configmap.yaml

63 lines
1.8 KiB
YAML

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'
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}"
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