From b5906b613ab43d02cba4d0791c53d7883835a272 Mon Sep 17 00:00:00 2001 From: Ultradesu Date: Tue, 5 May 2026 19:33:41 +0100 Subject: [PATCH] fix grafana --- k8s/core/prom-stack/prom-values.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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