🦺 Add fallback value for REACT_APP_CLOUD_LICENSE_ENABLED env

This commit is contained in:
tiptophelmet 2024-08-08 14:19:51 +03:00
parent 32a098fabc
commit 779e79cefe

View File

@ -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" }}'