Skip to content

Commit 9a242a0

Browse files
authored
fix(base-cluster/monitoring): slipped through review as well... (#1033)
1 parent c606781 commit 9a242a0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

charts/base-cluster/templates/monitoring/kube-prometheus-stack/_grafana-config.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ auth:
1313
auth:
1414
oauth_auto_login: true
1515
disable_login_form: false
16-
auth.generic_oauth:
17-
enabled: true
18-
allow_sign_up: true
19-
api_url: {{ printf "%s%s" $issuerUrl .grafana.apiPath }}
20-
auth_url: {{ printf "%s%s" $issuerUrl .grafana.authenticationPath }}
21-
token_url: {{ printf "%s%s" $issuerUrl .grafana.tokenPath }}
22-
client_id: {{ .config.clientId }}
23-
client_secret: ${OIDC_CLIENT_SECRET}
24-
name: OAuth
25-
role_attribute_path: {{ .grafana.roleAttributePath | quote }}
26-
scopes: openid profile email
16+
auth.generic_oauth:
17+
enabled: true
18+
allow_sign_up: true
19+
api_url: {{ printf "%s%s" $issuerUrl .grafana.apiPath }}
20+
auth_url: {{ printf "%s%s" $issuerUrl .grafana.authenticationPath }}
21+
token_url: {{ printf "%s%s" $issuerUrl .grafana.tokenPath }}
22+
client_id: {{ .config.clientId }}
23+
client_secret: ${OIDC_CLIENT_SECRET}
24+
name: OAuth
25+
role_attribute_path: {{ .grafana.roleAttributePath | quote }}
26+
scopes: openid profile email
2727
{{- end -}}
2828
{{- end -}}
2929

0 commit comments

Comments
 (0)