From f5998aa114361bd801512ef3ed93fcce9ce59550 Mon Sep 17 00:00:00 2001 From: "johannes.wicovsky" Date: Tue, 2 Aug 2022 14:58:59 +0200 Subject: [PATCH] add cors-allow-headers to ingress of smardigo-ocr --- config/default/templates/smardigo-ocr/ingress.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/default/templates/smardigo-ocr/ingress.yaml b/config/default/templates/smardigo-ocr/ingress.yaml index 29235ef..012593f 100644 --- a/config/default/templates/smardigo-ocr/ingress.yaml +++ b/config/default/templates/smardigo-ocr/ingress.yaml @@ -9,6 +9,7 @@ metadata: nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/cors-allow-origin: "{{ .Values.smardigo.workflow.host }}" nginx.ingress.kubernetes.io/cors-allow-credentials: "true" + nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type,Authorization,sma-requested-with name: "{{ .Release.Name }}-smardigo-ocr-backend" spec: rules: