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,16 +20,20 @@ data:
enabled: true enabled: true
existingClaim: "gatus-data" existingClaim: "gatus-data"
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: config:
storage:
# caching: true # when large
type: sqlite
path: /data/gatus.sqlite
security:
# https://twin.sh/articles/56/securing-gatus-with-oidc-using-auth0
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'
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: