@@ -50,39 +50,57 @@ spec:
5050 userKey : adminUser
5151 passwordKey : adminPassword
5252 env :
53- GF_AUTH_GENERIC_OAUTH_API_URL : https://auth.${SECRET_DOMAIN_NAME}/api/oidc/userinfo
54- GF_AUTH_GENERIC_OAUTH_AUTH_URL : https://auth.${SECRET_DOMAIN_NAME}/api/oidc/authorization
55- GF_AUTH_GENERIC_OAUTH_TOKEN_URL : https://auth.${SECRET_DOMAIN_NAME}/api/oidc/token
53+ # Authelia
54+ # GF_AUTH_GENERIC_OAUTH_API_URL: https://auth.${SECRET_DOMAIN_NAME}/api/oidc/userinfo
55+ # GF_AUTH_GENERIC_OAUTH_AUTH_URL: https://auth.${SECRET_DOMAIN_NAME}/api/oidc/authorization
56+ # GF_AUTH_GENERIC_OAUTH_TOKEN_URL: https://auth.${SECRET_DOMAIN_NAME}/api/oidc/token
57+
5658 GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS : natel-discrete-panel,pr0ps-trackmap-panel,panodata-map-panel
5759 GF_SECURITY_ANGULAR_SUPPORT_ENABLED : true
5860 envFromSecrets :
5961 - name : grafana-secret
6062 grafana.ini :
61- # default:
62- # force_migration: true
6363 auth :
64- # signout_redirect_url: https://auth.${SECRET_DOMAIN_NAME}/logout
65- oauth_auto_login : true
66- oauth_allow_insecure_email_lookup : true
64+ signout_redirect_url : https://sso.${SECRET_DOMAIN_NAME}/application/o/grafana/end-session/
65+ oauth_auto_login : true
6766 auth.generic_oauth :
68- enabled : true
69- name : Authelia
70- icon : signin
71- client_id : grafana
72- scopes : " openid profile email groups"
73- empty_scopes : false
74- login_attribute_path : preferred_username
75- groups_attribute_path : groups
76- name_attribute_path : name
77- use_pkce : true
78- auth.generic_oauth.group_mapping :
79- role_attribute_path : |
80- contains(groups[*], 'admins') && 'Admin' || contains(groups[*], 'people') && 'Viewer'
81- org_id : 1
67+ name : authentik
68+ enabled : true
69+ scopes : " openid profile email"
70+ auth_url : " https://sso.${SECRET_DOMAIN_NAME}/application/o/authorize/"
71+ token_url : " https://sso.${SECRET_DOMAIN_NAME}/application/o/token/"
72+ api_url : " https://sso.${SECRET_DOMAIN_NAME}/application/o/userinfo/"
73+ # Optionally map user groups to Grafana roles
74+ role_attribute_path : contains(groups, 'Grafana Admins') && 'Admin' || contains(groups, 'Grafana Editors') && 'Editor' || 'Viewer'
75+ users :
76+ auto_assign_org = true
77+ auto_assign_org_id = 1
78+ # Authelia
79+ # # default:
80+ # # force_migration: true
81+ # auth:
82+ # # signout_redirect_url: https://auth.${SECRET_DOMAIN_NAME}/logout
83+ # oauth_auto_login: true
84+ # oauth_allow_insecure_email_lookup: true
85+ # auth.generic_oauth:
86+ # enabled: true
87+ # name: Authelia
88+ # icon: signin
89+ # client_id: grafana
90+ # scopes: "openid profile email groups"
91+ # empty_scopes: false
92+ # login_attribute_path: preferred_username
93+ # groups_attribute_path: groups
94+ # name_attribute_path: name
95+ # use_pkce: true
96+ # auth.generic_oauth.group_mapping:
97+ # role_attribute_path: |
98+ # contains(groups[*], 'admins') && 'Admin' || contains(groups[*], 'people') && 'Viewer'
99+ # org_id: 1
82100 auth.basic :
83101 enabled : false
84102 auth.anonymous :
85- enabled : true
103+ enabled : false
86104 org_id : 1
87105 org_role : Viewer
88106 date_formats :
0 commit comments