From c5000cf8889ac948683a3a3dd93e5f000c73d81d Mon Sep 17 00:00:00 2001 From: Juan P Lopez Date: Tue, 6 Aug 2024 11:09:16 -0500 Subject: [PATCH] chore(galoy-api): add x-api-key to allow headers --- charts/galoy/templates/api-ingress.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/galoy/templates/api-ingress.yaml b/charts/galoy/templates/api-ingress.yaml index cd64431fe..95a76774a 100644 --- a/charts/galoy/templates/api-ingress.yaml +++ b/charts/galoy/templates/api-ingress.yaml @@ -11,6 +11,7 @@ metadata: annotations: cert-manager.io/cluster-issuer: {{ .Values.galoy.api.ingress.clusterIssuer }} 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,X-API-KEY" nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" # 1 hour nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" # 1 hour nginx.ingress.kubernetes.io/proxy-connect-timeout: "1s"