diff --git a/etc/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-deployment.yaml b/etc/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-deployment.yaml index bcda37ff..75e1f1a0 100644 --- a/etc/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-deployment.yaml +++ b/etc/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-deployment.yaml @@ -22,10 +22,13 @@ spec: containerPort: 443 volumeMounts: - name: config-volume - mountPath: /app/appsettings.json + mountPath: /app/appsettings.json + subPath: appsettings.json env: - name: App__SelfUrl value: "{{ .Values.config.selfUrl }}" + - name: App__CorsOrigins + value: "{{ .Values.config.corsOrigins }}" - name: GlobalConfiguration__BaseUrl value: "{{ .Values.config.globalConfigurationBaseUrl }}" - name: "DOTNET_ENVIRONMENT" diff --git a/etc/k8s/eshoponabp/charts/gateway-web/values.yaml b/etc/k8s/eshoponabp/charts/gateway-web/values.yaml index ec5ff94f..68d4588f 100644 --- a/etc/k8s/eshoponabp/charts/gateway-web/values.yaml +++ b/etc/k8s/eshoponabp/charts/gateway-web/values.yaml @@ -1,5 +1,6 @@ config: selfUrl: # https://eshop-st-gateway-web + corsOrigins: # localhost:4200 globalConfigurationBaseUrl: # http://eshop-st-gateway-web authServer: authority: http://eshop-st-authserver