fix(infra-monitoring): grafana without oauth

This commit is contained in:
WrenIX 2024-02-19 00:31:18 +01:00
parent f72ed377bc
commit 8547aac0f6
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5

View file

@ -186,13 +186,13 @@ spec:
token_url: https://{{ .Values.commons.auth.authentik.domain }}/application/o/token/
api_url: https://{{ .Values.commons.auth.authentik.domain }}/application/o/userinfo/
role_attribute_path: "contains(groups[*], 'app: grafana - admin') && 'Admin' || contains(groups[*], 'app: grafana - editor') && 'Editor' || 'Viewer'"
{{- end }}
extraSecretMounts:
- name: auth-generic-oauth-secret-mount
secretName: monitoring-grafana-auth-generic-oauth
defaultMode: 0440
mountPath: /etc/secrets/auth_generic_oauth
readOnly: true
{{- end }}
testFramework:
enabled: false
sidecar: