apps/status: properly secure and persist data

This commit is contained in:
xeruf 2024-07-01 11:15:47 +03:00
parent 67aa0df888
commit e5b655f974
2 changed files with 14 additions and 10 deletions

View File

@ -8,7 +8,7 @@ spec:
chart: chart:
spec: spec:
chart: gatus chart: gatus
version: 3.4.1 version: 3.4.5
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: minicloudlabs name: minicloudlabs

View File

@ -20,7 +20,13 @@ data:
enabled: true enabled: true
existingClaim: "gatus-data" existingClaim: "gatus-data"
config:
storage:
# caching: true # when large
type: sqlite
path: /data/gatus.sqlite
security: security:
# https://twin.sh/articles/56/securing-gatus-with-oidc-using-auth0
oidc: oidc:
issuer-url: "https://${hydra_domain}" issuer-url: "https://${hydra_domain}"
redirect-url: "https://${gatus_domain}/authorization-code/callback" redirect-url: "https://${gatus_domain}/authorization-code/callback"
@ -28,8 +34,6 @@ data:
client-secret: "${client_secret}" client-secret: "${client_secret}"
scopes: ["openid"] scopes: ["openid"]
#autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration' #autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'
config:
alerting: alerting:
# https://github.com/TwiN/gatus?tab=readme-ov-file#configuring-email-alerts # https://github.com/TwiN/gatus?tab=readme-ov-file#configuring-email-alerts
email: email: