From 779e79cefe04902cab9405b31d853848d947581c Mon Sep 17 00:00:00 2001 From: tiptophelmet Date: Thu, 8 Aug 2024 14:19:51 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=BA=20Add=20fallback=20value=20for=20`?= =?UTF-8?q?REACT=5FAPP=5FCLOUD=5FLICENSE=5FENABLED`=20env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm-chart/templates/06-front-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 7281c1c10..a756ca47c 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -56,7 +56,7 @@ spec: value: '{{- if or (and .Values.cloudLicenseEnabled (not (empty .Values.license))) (not .Values.internetConnectivity) -}} "false" {{- else -}} - {{ .Values.cloudLicenseEnabled }} + {{ .Values.cloudLicenseEnabled | ternary "true" "false" }} {{- end }}' - name: REACT_APP_SUPPORT_CHAT_ENABLED value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'