🔨 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{ Dashboard: configStructs.DashboardConfig{
CompleteStreamingEnabled: true, CompleteStreamingEnabled: true,
TextSearchEnabled: false,
}, },
Capture: configStructs.CaptureConfig{ Capture: configStructs.CaptureConfig{
Stopped: false, Stopped: false,

View File

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

View File

@@ -44,6 +44,8 @@ spec:
{{- end }}' {{- end }}'
- name: REACT_APP_STREAMING_TYPE - name: REACT_APP_STREAMING_TYPE
value: '{{ default "" (((.Values).tap).dashboard).streamingType }}' 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 - name: REACT_APP_AUTH_SAML_IDP_METADATA_URL
value: '{{ not (eq .Values.tap.auth.saml.idpMetadataUrl "") | ternary .Values.tap.auth.saml.idpMetadataUrl " " }}' value: '{{ not (eq .Values.tap.auth.saml.idpMetadataUrl "") | ternary .Values.tap.auth.saml.idpMetadataUrl " " }}'
- name: REACT_APP_TIMEZONE - name: REACT_APP_TIMEZONE

View File

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