🔨 Create tap.dashboard.textSearchEnabled helm value

This commit is contained in:
tiptophelmet
2025-09-08 14:41:35 +03:00
parent 349d8b07df
commit 04fb056322
4 changed files with 5 additions and 0 deletions

View File

@@ -148,6 +148,7 @@ func CreateDefaultConfig() ConfigStruct {
},
Dashboard: configStructs.DashboardConfig{
CompleteStreamingEnabled: true,
TextSearchEnabled: false,
},
Capture: configStructs.CaptureConfig{
Stopped: false,

View File

@@ -200,6 +200,7 @@ type RoutingConfig struct {
type DashboardConfig struct {
StreamingType string `yaml:"streamingType" json:"streamingType" default:""`
CompleteStreamingEnabled bool `yaml:"completeStreamingEnabled" json:"completeStreamingEnabled" default:"true"`
TextSearchEnabled bool `yaml:"textSearchEnabled" json:"textSearchEnabled" default:"false"`
}
type FrontRoutingConfig struct {

View File

@@ -44,6 +44,8 @@ spec:
{{- end }}'
- name: REACT_APP_STREAMING_TYPE
value: '{{ default "" (((.Values).tap).dashboard).streamingType }}'
- name: REACT_APP_TEXT_SEARCH_ENABLED
value: '{{ default false (((.Values).tap).dashboard).textSearchEnabled | ternary true false }}'
- name: REACT_APP_AUTH_SAML_IDP_METADATA_URL
value: '{{ not (eq .Values.tap.auth.saml.idpMetadataUrl "") | ternary .Values.tap.auth.saml.idpMetadataUrl " " }}'
- name: REACT_APP_TIMEZONE

View File

@@ -150,6 +150,7 @@ tap:
debug: false
dashboard:
completeStreamingEnabled: true
textSearchEnabled: false
telemetry:
enabled: true
resourceGuard: