diff --git a/config/configStruct.go b/config/configStruct.go index 1f0bc9211..5503f1f3b 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -95,6 +95,7 @@ type ConfigStruct struct { HeadlessMode bool `yaml:"headless" json:"headless" default:"false"` License string `yaml:"license" json:"license" default:""` CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"` + SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"false"` Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"` Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"` Timezone string `yaml:"timezone" json:"timezone"` diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 65e25745d..eb5041a9a 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -58,6 +58,8 @@ spec: {{- else -}} {{ .Values.cloudLicenseEnabled }} {{- end }}' + - name: REACT_APP_SUPPORT_CHAT_ENABLED + value: '{{ not .Values.supportChatEnabled | ternary "false" .Values.supportChatEnabled }}' {{- if .Values.tap.docker.overrideTag.front }} image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.overrideTag.front }}' {{ else }} diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index c78ea859c..eb2bc6967 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -137,6 +137,7 @@ dumpLogs: false headless: false license: "" cloudLicenseEnabled: true +supportChatEnabled: false scripting: env: {} source: ""