khuedoan-homelab/platform/grafana/values.yaml
Khue Doan b1a716dae9 refactor!: move Grafana to platform
Grafana depends on secret created by ExternalSecret, with the values
pulled from Vault, causing circular dependency problem: system requires
platform components but platform requires system components.
2023-05-19 01:36:47 +07:00

29 lines
795 B
YAML

grafana:
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hajimari.io/appName: Grafana
hajimari.io/icon: chart-bar
hosts:
- &host grafana.khuedoan.com
tls:
- secretName: grafana-general-tls
hosts:
- *host
envFromSecret: grafana-secrets
grafana.ini:
server:
root_url: https://grafana.khuedoan.com
auth.generic_oauth:
enabled: true
allow_sign_up: true
name: Dex
client_id: grafana-sso
client_secret: $__env{GRAFANA_SSO_CLIENT_SECRET}
scopes: openid profile email groups
auth_url: https://dex.khuedoan.com/auth
token_url: https://dex.khuedoan.com/token
api_url: https://dex.khuedoan.com/userinfo