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