From e5461fdfba34b8aa65dff47579b6a2e877f0d760 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Fri, 24 Jan 2025 21:25:46 +0100 Subject: [PATCH] fix(grafana): Locate roles of Grafana in JWT --- argocd/prometheus/monitoring/argocd_values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd/prometheus/monitoring/argocd_values.yaml b/argocd/prometheus/monitoring/argocd_values.yaml index 76b826c..f63bd58 100644 --- a/argocd/prometheus/monitoring/argocd_values.yaml +++ b/argocd/prometheus/monitoring/argocd_values.yaml @@ -32,7 +32,7 @@ kube-prometheus-stack: auth_url: https://id.2martens.de/realms/2martens/protocol/openid-connect/auth token_url: https://id.2martens.de/realms/2martens/protocol/openid-connect/token api_url: https://id.2martens.de/realms/2martens/protocol/openid-connect/userinfo - role_attribute_path: contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer' + role_attribute_path: contains(resource_access.grafana-oauth.roles[*], 'admin') && 'Admin' || contains(resource_access.grafana-oauth.roles[*], 'editor') && 'Editor' || 'Viewer' ingress: enabled: true ingressClassName: public