diff --git a/config/default/templates/smardigo-ocr/ingress.yaml b/config/default/templates/smardigo-ocr/ingress.yaml index cd9372f..f141b38 100644 --- a/config/default/templates/smardigo-ocr/ingress.yaml +++ b/config/default/templates/smardigo-ocr/ingress.yaml @@ -6,10 +6,7 @@ metadata: cert-manager.io/issue-temporary-certificate: "true" kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/preserve-trailing-slash: "true" - 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,smardigo-tenant + nginx.ingress.kubernetes.io/whitelist-source-range: 167.235.25.0/32 name: "{{ .Release.Name }}-smardigo-ocr-backend" spec: rules: