keycloak for grafana
This commit is contained in:
@@ -1,33 +1,31 @@
|
|||||||
grafana:
|
grafana:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
envFromSecret: grafana-oauth-secret
|
extraSecretMounts:
|
||||||
|
- name: grafana-oauth-secret
|
||||||
env:
|
secretName: grafana-oauth-secret
|
||||||
GF_AUTH_GENERIC_OAUTH_ENABLED: "true"
|
mountPath: /etc/secrets
|
||||||
|
readOnly: true
|
||||||
|
|
||||||
grafana.ini:
|
grafana.ini:
|
||||||
server:
|
server:
|
||||||
root_url: http://grafana.13.140.150.2.nip.io
|
root_url: http://grafana.13.140.150.2.nip.io
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
signout_redirect_url: http://grafana.13.140.150.2.nip.io
|
|
||||||
disable_login_form: true
|
disable_login_form: true
|
||||||
oauth_auto_login: true
|
|
||||||
|
|
||||||
auth.generic_oauth:
|
auth.generic_oauth:
|
||||||
enabled: true
|
enabled: true
|
||||||
name: Keycloak
|
name: Keycloak
|
||||||
allow_sign_up: true
|
allow_sign_up: true
|
||||||
client_id: grafana
|
client_id: grafana
|
||||||
client_secret: $__env{GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET}
|
client_secret: $__file{/etc/secrets/GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET}
|
||||||
scopes: openid email profile
|
scopes: openid email profile
|
||||||
auth_url: http://keycloak.13.140.150.2.nip.io/auth/realms/airflow-realm/protocol/openid-connect/auth
|
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
|
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
|
api_url: http://keycloak.13.140.150.2.nip.io/auth/realms/airflow-realm/protocol/openid-connect/userinfo
|
||||||
email_attribute_path: email
|
email_attribute_path: email
|
||||||
login_attribute_path: preferred_username
|
login_attribute_path: preferred_username
|
||||||
name_attribute_path: full_name
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user