From 04fb0563229e8eb9b1c139cabdcc7eb5b292e004 Mon Sep 17 00:00:00 2001 From: tiptophelmet Date: Mon, 8 Sep 2025 14:41:35 +0300 Subject: [PATCH] :hammer: Create `tap.dashboard.textSearchEnabled` helm value --- config/configStruct.go | 1 + config/configStructs/tapConfig.go | 1 + helm-chart/templates/06-front-deployment.yaml | 2 ++ helm-chart/values.yaml | 1 + 4 files changed, 5 insertions(+) diff --git a/config/configStruct.go b/config/configStruct.go index 6092173fc..73d022291 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -148,6 +148,7 @@ func CreateDefaultConfig() ConfigStruct { }, Dashboard: configStructs.DashboardConfig{ CompleteStreamingEnabled: true, + TextSearchEnabled: false, }, Capture: configStructs.CaptureConfig{ Stopped: false, diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 5de658e35..4bb4553e3 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -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 { diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 4d6807b82..0df9c412f 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -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 diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index ab584a758..0c929411a 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -150,6 +150,7 @@ tap: debug: false dashboard: completeStreamingEnabled: true + textSearchEnabled: false telemetry: enabled: true resourceGuard: