From 5f9fbb1a83084a021228cb570b10c1d0f31176a3 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 29 Sep 2024 16:03:50 +0200 Subject: [PATCH] set Grafana Role via SSO/ProxyAuth --- authentik/manifest.yaml | 1 + prometheus/values.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/authentik/manifest.yaml b/authentik/manifest.yaml index b364095..bf3dd05 100644 --- a/authentik/manifest.yaml +++ b/authentik/manifest.yaml @@ -117,6 +117,7 @@ spec: - X-authentik-name - X-authentik-uid - X-authentik-jwt + - X-authentik-grafana-role - X-authentik-meta-jwks - X-authentik-meta-outpost - X-authentik-meta-provider diff --git a/prometheus/values.yaml b/prometheus/values.yaml index 71bc781..258278e 100644 --- a/prometheus/values.yaml +++ b/prometheus/values.yaml @@ -107,7 +107,7 @@ grafana: header_name: X-Authentik-Username header_property: username auto_sign_up: true - headers: Email:X-Authentik-Email, Name:X-Authentik-Name + headers: Email:X-Authentik-Email, Name:X-Authentik-Name, Role:X-Authentik-Grafana-Role whitelist: 10.1.0.0/16 prometheus-node-exporter: prometheus: