From 3e95bd93b0ddfa77c9fbbabe5f64e78d779605ff Mon Sep 17 00:00:00 2001 From: somanath21 <104554892+somanath21@users.noreply.github.com> Date: Thu, 29 Feb 2024 18:09:29 +0530 Subject: [PATCH] include the HTTP headers in its response to allow cors for new services (#392) Co-authored-by: Somanath Hugar --- helm/g2p-sandbox/values.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/helm/g2p-sandbox/values.yaml b/helm/g2p-sandbox/values.yaml index 293307349..785014806 100644 --- a/helm/g2p-sandbox/values.yaml +++ b/helm/g2p-sandbox/values.yaml @@ -518,6 +518,11 @@ ph-ee-engine: SPRING_PROFILES_ACTIVE: "bb,tenants" ingress: enabled: false + annotations: + nginx.ingress.kubernetes.io/access-control-allow-origin: 'true' + nginx.ingress.kubernetes.io/cors-allow-methods: PUT, GET, POST, OPTIONS, DELETE + nginx.ingress.kubernetes.io/cors-allow-origin: '*' + nginx.ingress.kubernetes.io/enable-cors: 'true' tls: - secretName: sandbox-secret hosts: @@ -541,6 +546,11 @@ ph-ee-engine: SPRING_PROFILES_ACTIVE: "bb,tenants" ingress: enabled: false + annotations: + nginx.ingress.kubernetes.io/access-control-allow-origin: 'true' + nginx.ingress.kubernetes.io/cors-allow-methods: PUT, GET, POST, OPTIONS, DELETE + nginx.ingress.kubernetes.io/cors-allow-origin: '*' + nginx.ingress.kubernetes.io/enable-cors: 'true' tls: - secretName: sandbox-secret hosts: