From b09606932382289d65ae8d106ba05c7f660d2459 Mon Sep 17 00:00:00 2001 From: nleconte-csgroup <86782407+nleconte-csgroup@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:55:14 +0100 Subject: [PATCH] fix: add new header needed by stac broswer --- charts/rs-server-adgs/templates/ingress.yaml | 2 +- charts/rs-server-cadip/templates/ingress.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/rs-server-adgs/templates/ingress.yaml b/charts/rs-server-adgs/templates/ingress.yaml index dbe79f3..51d20d0 100644 --- a/charts/rs-server-adgs/templates/ingress.yaml +++ b/charts/rs-server-adgs/templates/ingress.yaml @@ -20,7 +20,7 @@ metadata: namespace: {{ .Values.namespace }} annotations: cert-manager.io/{{ .Values.ingress.issuer.type }}: {{ .Values.ingress.issuer.name }} - nginx.ingress.kubernetes.io/cors-allow-headers: x-api-key, authorization + nginx.ingress.kubernetes.io/cors-allow-headers: x-api-key, authorization, content-type nginx.ingress.kubernetes.io/cors-allow-origin: '*' nginx.ingress.kubernetes.io/enable-cors: "true" name: {{ .Release.Name }}-ingress diff --git a/charts/rs-server-cadip/templates/ingress.yaml b/charts/rs-server-cadip/templates/ingress.yaml index 3f9375a..6dcc3c9 100644 --- a/charts/rs-server-cadip/templates/ingress.yaml +++ b/charts/rs-server-cadip/templates/ingress.yaml @@ -20,7 +20,7 @@ metadata: namespace: {{ .Values.namespace }} annotations: cert-manager.io/{{ .Values.ingress.issuer.type }}: {{ .Values.ingress.issuer.name }} - nginx.ingress.kubernetes.io/cors-allow-headers: x-api-key, authorization + nginx.ingress.kubernetes.io/cors-allow-headers: x-api-key, authorization, content-type nginx.ingress.kubernetes.io/cors-allow-origin: '*' nginx.ingress.kubernetes.io/enable-cors: "true"