sync with latest changes
This commit is contained in:
21
namespaces/monitoring/grafana-config.yml
Normal file
21
namespaces/monitoring/grafana-config.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: grafana-config
|
||||
namespace: monitoring # Change if using a different namespace
|
||||
data:
|
||||
grafana.ini: |
|
||||
[auth]
|
||||
signout_redirect_url = https://authentik.company/application/o/<Slug of the application>/end-session/
|
||||
oauth_auto_login = true
|
||||
|
||||
[auth.generic_oauth]
|
||||
name = authentik
|
||||
enabled = true
|
||||
client_id = "<Client ID from above>"
|
||||
client_secret = "<Client Secret from above>"
|
||||
scopes = openid profile email
|
||||
auth_url = https://authentik.company/application/o/authorize/
|
||||
token_url = https://authentik.company/application/o/token/
|
||||
api_url = https://authentik.company/application/o/userinfo/
|
||||
role_attribute_path = contains(groups, 'Grafana Admins') && 'Admin' || contains(groups, 'Grafana Editors') && 'Editor' || 'Viewer'
|
||||
Reference in New Issue
Block a user