diff --git a/k8s/core/prom-stack/prom-values.yaml b/k8s/core/prom-stack/prom-values.yaml index 9ff4773..54ac5a5 100644 --- a/k8s/core/prom-stack/prom-values.yaml +++ b/k8s/core/prom-stack/prom-values.yaml @@ -117,10 +117,14 @@ grafana: 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 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: >- - contains(groups, 'hexor-admin') && 'Admin' || - contains(groups, 'hexor-guest') && 'Viewer' + contains(groups[*], 'hexor-admin') && 'Admin' || + contains(groups[*], 'hexor-guest') && 'Viewer' || + 'Viewer' + role_attribute_strict: false database: type: postgres host: psql.psql.svc:5432