From f626636ed747f5b04b417403ed2f365f0bb86458 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Fri, 3 Jun 2022 13:03:32 +0200 Subject: [PATCH] chore(helm): enable cors for ingest 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 f7ed1289b..fa719e5c0 100644 --- a/scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml +++ b/scripts/helmcharts/openreplay/charts/http/templates/ingress.yaml @@ -10,6 +10,7 @@ metadata: annotations: 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" {{- with .Values.ingress.annotations }} {{- toYaml . | nindent 4 }} {{- end }}