From 349d8b07df6a6048920b0c0eb51b09bfbae1e80a Mon Sep 17 00:00:00 2001 From: Serhii Ponomarenko <116438358+tiptophelmet@users.noreply.github.com> Date: Tue, 2 Sep 2025 20:43:38 +0300 Subject: [PATCH] :hammer: Add `tap.dashboard.streamingType` helm value (#1783) * :hammer: Add `tap.dashboard.streamingType` helm value * :hammer: Add `streamingType` to tap config * :hammer: Adjust `REACT_APP_STREAMING_TYPE` front env value * :hammer: Use default empty string for `streamingType` value --- config/configStructs/tapConfig.go | 3 ++- helm-chart/templates/06-front-deployment.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index dfa1547fe..5de658e35 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -198,7 +198,8 @@ type RoutingConfig struct { } type DashboardConfig struct { - CompleteStreamingEnabled bool `yaml:"completeStreamingEnabled" json:"completeStreamingEnabled" default:"true"` + StreamingType string `yaml:"streamingType" json:"streamingType" default:""` + CompleteStreamingEnabled bool `yaml:"completeStreamingEnabled" json:"completeStreamingEnabled" default:"true"` } type FrontRoutingConfig struct { diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 1641ab94e..4d6807b82 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -42,6 +42,8 @@ spec: {{- else -}} true {{- end }}' + - name: REACT_APP_STREAMING_TYPE + value: '{{ default "" (((.Values).tap).dashboard).streamingType }}' - 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