47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
grafana:
|
|
enabled: true
|
|
|
|
envFromSecret: grafana-oauth-secret
|
|
|
|
env:
|
|
GF_AUTH_GENERIC_OAUTH_ENABLED: "true"
|
|
|
|
grafana.ini:
|
|
server:
|
|
root_url: http://grafana.13.140.150.2.nip.io
|
|
|
|
auth:
|
|
signout_redirect_url: http://grafana.13.140.150.2.nip.io
|
|
disable_login_form: true
|
|
oauth_auto_login: true
|
|
|
|
auth.generic_oauth:
|
|
enabled: true
|
|
name: Keycloak
|
|
allow_sign_up: true
|
|
client_id: grafana
|
|
client_secret: $__env{GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET}
|
|
scopes: openid email profile
|
|
auth_url: http://keycloak.13.140.150.2.nip.io/auth/realms/airflow-realm/protocol/openid-connect/auth
|
|
token_url: http://keycloak.13.140.150.2.nip.io/auth/realms/airflow-realm/protocol/openid-connect/token
|
|
api_url: http://keycloak.13.140.150.2.nip.io/auth/realms/airflow-realm/protocol/openid-connect/userinfo
|
|
email_attribute_path: email
|
|
login_attribute_path: preferred_username
|
|
name_attribute_path: full_name
|
|
|
|
ingress:
|
|
enabled: true
|
|
ingressClassName: nginx
|
|
hosts:
|
|
- grafana.13.140.150.2.nip.io
|
|
|
|
prometheus:
|
|
enabled: true
|
|
|
|
prometheusSpec:
|
|
serviceMonitorSelectorNilUsesHelmValues: false
|
|
podMonitorSelectorNilUsesHelmValues: false
|
|
|
|
alertmanager:
|
|
enabled: true
|