fix(infra-monitoring): allow login if not anonymous login
This commit is contained in:
parent
e72b640af9
commit
924f95bc87
2 changed files with 4 additions and 1 deletions
|
@ -162,9 +162,11 @@ spec:
|
|||
# bug in grafana-helmchart needed for oauth redirect url (without port :3000)
|
||||
root_url: "https://%(domain)s/"
|
||||
auth:
|
||||
{{- if and .Values.commons.auth.enabled (eq .Values.commons.auth.type "authentik") }}
|
||||
{{- if or .Values.grafana.auth.enabled .Values.commons.auth.enabled }}
|
||||
{{- if eq .Values.commons.auth.type "authentik" }}
|
||||
signout_redirect_url: https://{{ .Values.commons.auth.authentik.domain }}/application/o/grafana/end-session/
|
||||
oauth_auto_login: true
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
disable_login_form: true
|
||||
disable_signout_menu: true
|
||||
|
|
|
@ -178,6 +178,7 @@ grafana:
|
|||
"grafana.mon.local/dashboard-folder": "Kubernetes"
|
||||
|
||||
auth:
|
||||
enabled: false
|
||||
authentik:
|
||||
# -- generated from commons.masterPassword
|
||||
clientID:
|
||||
|
|
Loading…
Add table
Reference in a new issue