khuedoan-homelab/platform/grafana/values.yaml
Khue Doan c2d1263cbd fix(grafana): enable side car for dashboards and datasources
Copied config from kube-prometheus-stack
2023-05-19 13:11:02 +07:00

36 lines
961 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
sidecar:
dashboards:
enabled: true
searchNamespace: monitoring-system
datasources:
enabled: true
searchNamespace: monitoring-system
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