🔨 Add api2BetaEnabled helm value

This commit is contained in:
tiptophelmet 2025-07-07 13:30:19 +03:00
parent bedecdb080
commit 026aff35e6
3 changed files with 4 additions and 0 deletions

View File

@ -175,6 +175,7 @@ type ConfigStruct struct {
AiAssistantEnabled bool `yaml:"aiAssistantEnabled" json:"aiAssistantEnabled" default:"true"`
DemoModeEnabled bool `yaml:"demoModeEnabled" json:"demoModeEnabled" default:"false"`
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
Api2BetaEnabled bool `yaml:"api2BetaEnabled" json:"api2BetaEnabled" default:"false"`
InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"`
Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"`
Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"`

View File

@ -80,6 +80,8 @@ spec:
value: '{{ .Values.aiAssistantEnabled | ternary "true" "false" }}'
- name: REACT_APP_SUPPORT_CHAT_ENABLED
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
- name: REACT_APP_API2_BETA_ENABLED
value: '{{ .Values.api2BetaEnabled | ternary "true" "false" }}'
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
value: '{{ .Values.tap.liveConfigMapChangesDisabled | ternary "false" "true" }}'
- name: REACT_APP_SENTRY_ENABLED

View File

@ -251,6 +251,7 @@ cloudLicenseEnabled: true
aiAssistantEnabled: true
demoModeEnabled: false
supportChatEnabled: true
api2BetaEnabled: false
internetConnectivity: true
scripting:
env: {}