From fe6ee021a552a959fdb34bb4f43d1da3e21640e3 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Tue, 2 Nov 2021 17:20:53 +0300 Subject: [PATCH] saas chart value fix --- etc/k8s/eshoponabp/charts/saas/templates/saas.yaml | 5 ++++- etc/k8s/eshoponabp/charts/saas/values.yaml | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/k8s/eshoponabp/charts/saas/templates/saas.yaml b/etc/k8s/eshoponabp/charts/saas/templates/saas.yaml index 58845209..0ee5dd34 100644 --- a/etc/k8s/eshoponabp/charts/saas/templates/saas.yaml +++ b/etc/k8s/eshoponabp/charts/saas/templates/saas.yaml @@ -25,5 +25,8 @@ spec: - name: "ConnectionStrings__AdministrationService" value: {{ .Values.global.administrationService.connString }} - name: "ConnectionStrings__SaasService" - value: {{ .Values.global.saasService.connString }} + value: {{ .Values.global.saasService.connString }} + {{- if .Values.env }} +{{ toYaml .Values.env | indent 8 }} + {{- end }} diff --git a/etc/k8s/eshoponabp/charts/saas/values.yaml b/etc/k8s/eshoponabp/charts/saas/values.yaml index e69de29b..94682c50 100644 --- a/etc/k8s/eshoponabp/charts/saas/values.yaml +++ b/etc/k8s/eshoponabp/charts/saas/values.yaml @@ -0,0 +1,6 @@ + env: + - name: "App__SelfUrl" + value: "https://eshop-st-saas" + - name: "App__CorsOrigins" + value: "https://eshop-st-gateway-web,https://eshop-st-gateway-public-web,https://eshop-st-gateway-internal" + \ No newline at end of file