From d32c3426a6bf2c2fb8e7496c5f9956536538d09c Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 15 Mar 2024 07:00:54 +0100 Subject: [PATCH] work around /data CORS issues, see https://github.com/owncloud/ocis/issues/8380 --- charts/ocis/templates/frontend/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/ocis/templates/frontend/deployment.yaml b/charts/ocis/templates/frontend/deployment.yaml index 8c6ae0f57..f70b7f2e3 100644 --- a/charts/ocis/templates/frontend/deployment.yaml +++ b/charts/ocis/templates/frontend/deployment.yaml @@ -27,6 +27,10 @@ spec: {{- include "ocis.cors" . |nindent 12 }} {{- include "ocis.events" . | nindent 12 }} + # TODO: this is a workaround, remove it after https://github.com/owncloud/ocis/issues/8380 is closed + - name: OCIS_CORS_ALLOW_METHODS + value: "OPTIONS,HEAD,GET,PUT,POST,PATCH,DELETE,MKCOL,PROPFIND,PROPPATCH,MOVE,COPY,REPORT,SEARCH" + - name: FRONTEND_LOG_COLOR value: {{ .Values.logging.color | quote }} - name: FRONTEND_LOG_LEVEL