From f2beb1ffabc802f73e211bf088920b9ff59052cf Mon Sep 17 00:00:00 2001 From: Alexey Naiden Date: Wed, 18 May 2022 13:45:26 +0300 Subject: [PATCH] Fox for * in CORS params --- charts/platform-service-accounts/templates/deployment.yaml | 2 +- charts/platform-service-accounts/values-dev.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/platform-service-accounts/templates/deployment.yaml b/charts/platform-service-accounts/templates/deployment.yaml index 093e59b..57d913d 100644 --- a/charts/platform-service-accounts/templates/deployment.yaml +++ b/charts/platform-service-accounts/templates/deployment.yaml @@ -69,7 +69,7 @@ spec: {{- if .Values.cors.origins }} - name: NP_CORS_ORIGINS - value: {{ .Values.cors.origins | join "," }} + value: {{ .Values.cors.origins | join "," | quote }} {{- end }} {{- if .Values.zipkin }} - name: NP_ZIPKIN_URL diff --git a/charts/platform-service-accounts/values-dev.yaml b/charts/platform-service-accounts/values-dev.yaml index 4a860a1..13ceb7f 100644 --- a/charts/platform-service-accounts/values-dev.yaml +++ b/charts/platform-service-accounts/values-dev.yaml @@ -50,6 +50,6 @@ postgres-db-init: cors: origins: - - * + - '*' enableDocs: true