From 6486c18957cd156e6cec3163d70d57816a0bb09a Mon Sep 17 00:00:00 2001 From: "johannes.wicovsky" Date: Tue, 2 Aug 2022 12:06:14 +0200 Subject: [PATCH] add cors-configuration to smardigo-ocr for frontend-accesses --- config/default/templates/smardigo-ocr/deployment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/default/templates/smardigo-ocr/deployment.yml b/config/default/templates/smardigo-ocr/deployment.yml index 2091de9..57e1e90 100644 --- a/config/default/templates/smardigo-ocr/deployment.yml +++ b/config/default/templates/smardigo-ocr/deployment.yml @@ -53,6 +53,8 @@ spec: value: "nsodev" - name: OIDC_CLIENT_SECRET value: "nsodev" + - name: SMA_CORS_ALLOWED_ORIGINS + value: "{{ .Values.smardigo.workflow.host }}" - name: SMA_DOCUMENT_REST_AUTH_TOKEN valueFrom: secretKeyRef: