From 57cdc4ae925380d624a2cf86d9490652ac5f766e Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Fri, 7 Apr 2023 14:47:00 +0200 Subject: [PATCH] feat(helm): Adding cors headers to content type Signed-off-by: rjshrjndrn --- scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml b/scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml index 01e9864c9..f86b5e52d 100644 --- a/scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml +++ b/scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml @@ -12,6 +12,7 @@ metadata: nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/upstream-hash-by: $http_x_forwarded_for nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/cors-allow-headers: "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,Content-Encoding" {{- with .Values.ingress.annotations }} {{- toYaml . | nindent 4 }} {{- end }}