refactor(auth): 🔧 Simplify OAuth configuration structure

Refactors the OAuth configuration in the Grafana manifest by restructuring the indentation for clarity and organization. This change enhances readability and maintainability of the authentication settings without altering functionality.
This commit is contained in:
Daniel Sy 2025-08-13 14:24:24 +02:00
parent ae26ec6a42
commit a82d027f81
Signed by untrusted user: danielsy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -43,7 +43,7 @@ spec:
auth:
disable_login: true
disable_login_form: true
auth.generic_oauth:
generic_oauth:
enabled: true
name: Forgejo
allow_sign_up: false
@ -56,4 +56,3 @@ spec:
api_url: https://dex.observability.t09.de/userinfo
redirect_uri: https://grafana.observability.t09.de/login/generic_oauth
role_attribute_path: "contains(groups[*], 'admin') && 'Admin' || contains(groups[*], 'editor') && 'Editor' || 'Viewer'"