mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-26 08:14:42 +00:00
🔧 Add aiAssistantEnabled
helm value (#1717)
* 🔧 Add `aiAssistantEnabled` helm value * 🐛 Add quotes to `AI_ASSISTANT_ENABLED` config val --------- Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
parent
000fb91461
commit
f656acea64
@ -150,6 +150,7 @@ type ConfigStruct struct {
|
|||||||
HeadlessMode bool `yaml:"headless" json:"headless" default:"false"`
|
HeadlessMode bool `yaml:"headless" json:"headless" default:"false"`
|
||||||
License string `yaml:"license" json:"license" default:""`
|
License string `yaml:"license" json:"license" default:""`
|
||||||
CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"`
|
CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"`
|
||||||
|
AiAssistantEnabled bool `yaml:"aiAssistantEnabled" json:"aiAssistantEnabled" default:"false"`
|
||||||
DemoModeEnabled bool `yaml:"demoModeEnabled" json:"demoModeEnabled" default:"false"`
|
DemoModeEnabled bool `yaml:"demoModeEnabled" json:"demoModeEnabled" default:"false"`
|
||||||
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
|
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
|
||||||
InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"`
|
InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"`
|
||||||
|
@ -66,6 +66,8 @@ spec:
|
|||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ .Values.cloudLicenseEnabled }}
|
{{ .Values.cloudLicenseEnabled }}
|
||||||
{{- end }}'
|
{{- end }}'
|
||||||
|
- name: 'REACT_APP_AI_ASSISTANT_ENABLED'
|
||||||
|
value: '{{ .Values.aiAssistantEnabled | ternary "true" "false" }}'
|
||||||
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
||||||
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
|
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
|
||||||
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
|
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
|
||||||
|
@ -56,6 +56,7 @@ data:
|
|||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ .Values.cloudLicenseEnabled }}
|
{{ .Values.cloudLicenseEnabled }}
|
||||||
{{- end }}'
|
{{- end }}'
|
||||||
|
AI_ASSISTANT_ENABLED: '{{ .Values.aiAssistantEnabled | ternary "true" "false" }}'
|
||||||
DUPLICATE_TIMEFRAME: '{{ .Values.tap.misc.duplicateTimeframe }}'
|
DUPLICATE_TIMEFRAME: '{{ .Values.tap.misc.duplicateTimeframe }}'
|
||||||
ENABLED_DISSECTORS: '{{ gt (len .Values.tap.enabledDissectors) 0 | ternary (join "," .Values.tap.enabledDissectors) "" }}'
|
ENABLED_DISSECTORS: '{{ gt (len .Values.tap.enabledDissectors) 0 | ternary (join "," .Values.tap.enabledDissectors) "" }}'
|
||||||
CUSTOM_MACROS: '{{ toJson .Values.tap.customMacros }}'
|
CUSTOM_MACROS: '{{ toJson .Values.tap.customMacros }}'
|
||||||
|
@ -228,6 +228,7 @@ dumpLogs: false
|
|||||||
headless: false
|
headless: false
|
||||||
license: ""
|
license: ""
|
||||||
cloudLicenseEnabled: true
|
cloudLicenseEnabled: true
|
||||||
|
aiAssistantEnabled: false
|
||||||
supportChatEnabled: true
|
supportChatEnabled: true
|
||||||
internetConnectivity: true
|
internetConnectivity: true
|
||||||
scripting:
|
scripting:
|
||||||
|
Loading…
Reference in New Issue
Block a user