fix grafana
This commit is contained in:
@@ -117,10 +117,14 @@ grafana:
|
|||||||
auth_url: https://auth.hexor.cy/auth/realms/hexor/protocol/openid-connect/auth
|
auth_url: https://auth.hexor.cy/auth/realms/hexor/protocol/openid-connect/auth
|
||||||
token_url: https://auth.hexor.cy/auth/realms/hexor/protocol/openid-connect/token
|
token_url: https://auth.hexor.cy/auth/realms/hexor/protocol/openid-connect/token
|
||||||
api_url: https://auth.hexor.cy/auth/realms/hexor/protocol/openid-connect/userinfo
|
api_url: https://auth.hexor.cy/auth/realms/hexor/protocol/openid-connect/userinfo
|
||||||
# #contains(groups, 'Grafana Editors') && 'Editor' ||
|
email_attribute_path: email
|
||||||
|
login_attribute_path: preferred_username
|
||||||
|
name_attribute_path: name
|
||||||
role_attribute_path: >-
|
role_attribute_path: >-
|
||||||
contains(groups, 'hexor-admin') && 'Admin' ||
|
contains(groups[*], 'hexor-admin') && 'Admin' ||
|
||||||
contains(groups, 'hexor-guest') && 'Viewer'
|
contains(groups[*], 'hexor-guest') && 'Viewer' ||
|
||||||
|
'Viewer'
|
||||||
|
role_attribute_strict: false
|
||||||
database:
|
database:
|
||||||
type: postgres
|
type: postgres
|
||||||
host: psql.psql.svc:5432
|
host: psql.psql.svc:5432
|
||||||
|
|||||||
Reference in New Issue
Block a user