From 531ea14beea4eff88313b7ec1060b96b588c694d Mon Sep 17 00:00:00 2001 From: Dylan Moreland <79415431+elffjs@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:30:25 -0400 Subject: [PATCH] CORS wildcard dev and prod (#76) * Update values.yaml * Update values-prod.yaml --- charts/telemetry-api/values-prod.yaml | 2 +- charts/telemetry-api/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/telemetry-api/values-prod.yaml b/charts/telemetry-api/values-prod.yaml index 138cf90..7fe8fe3 100644 --- a/charts/telemetry-api/values-prod.yaml +++ b/charts/telemetry-api/values-prod.yaml @@ -25,7 +25,7 @@ ingress: nginx.ingress.kubernetes.io/auth-tls-secret: ingress/cf-origin-ca nginx.ingress.kubernetes.io/auth-tls-verify-client: 'on' nginx.ingress.kubernetes.io/enable-cors: 'true' - nginx.ingress.kubernetes.io/cors-allow-origin: https://app.dimo.zone, https://admin.team.dimo.zone + nginx.ingress.kubernetes.io/cors-allow-origin: '*' nginx.ingress.kubernetes.io/limit-rps: '50' external-dns.alpha.kubernetes.io/hostname: telemetry-api.dimo.zone hosts: diff --git a/charts/telemetry-api/values.yaml b/charts/telemetry-api/values.yaml index a7fe5ca..5c98956 100644 --- a/charts/telemetry-api/values.yaml +++ b/charts/telemetry-api/values.yaml @@ -67,7 +67,7 @@ ingress: nginx.ingress.kubernetes.io/auth-tls-secret: ingress/cf-origin-ca nginx.ingress.kubernetes.io/auth-tls-verify-client: 'on' nginx.ingress.kubernetes.io/enable-cors: 'true' - nginx.ingress.kubernetes.io/cors-allow-origin: https://app.dev.dimo.zone, https://admin.dev.dimo.zone + nginx.ingress.kubernetes.io/cors-allow-origin: '*' nginx.ingress.kubernetes.io/limit-rps: '25' external-dns.alpha.kubernetes.io/hostname: telemetry-api.dev.dimo.zone hosts: