From fd814286966b720310365ad5c45e91ca24413178 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 5 Aug 2022 14:18:24 +0200 Subject: [PATCH] configure PROXY_OIDC_REWRITE_WELLKNOWN, needs owncloud/ocis#4346 --- charts/ocis/templates/proxy/deployment.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/ocis/templates/proxy/deployment.yaml b/charts/ocis/templates/proxy/deployment.yaml index 90b6f86cd..65e5b4862 100644 --- a/charts/ocis/templates/proxy/deployment.yaml +++ b/charts/ocis/templates/proxy/deployment.yaml @@ -58,11 +58,16 @@ spec: value: "{{ .Values.features.basicAuthentication }}" - name: PROXY_OIDC_ISSUER - {{ if not .Values.features.externalUserManagement.enabled }} + {{- if not .Values.features.externalUserManagement.enabled }} value: https://{{ .Values.externalDomain }} - {{ else }} + {{- else }} value: {{ .Values.features.externalUserManagement.oidc.issuerURI }} - {{ end }} + {{- end }} + + {{- if not .Values.features.externalUserManagement.enabled }} + - name: PROXY_OIDC_REWRITE_WELLKNOWN + value: "true" + {{- end }} - name: PROXY_TLS value: "false"