diff --git a/charts/ocis/templates/proxy/deployment.yaml b/charts/ocis/templates/proxy/deployment.yaml index 90b6f86cd..047c15460 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 .Values.features.externalUserManagement.enabled }} + - name: PROXY_OIDC_REWRITE_WELLKNOWN + value: "true" + {{- end }} - name: PROXY_TLS value: "false"