mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-24 15:24:17 +00:00
🔨 Add tap.dashboard.completeStreamingEnabled
flag (#1733)
This commit is contained in:
parent
3c13a8d96b
commit
59ef0f8f80
@ -135,6 +135,9 @@ func CreateDefaultConfig() ConfigStruct {
|
|||||||
LDAP: []uint16{389},
|
LDAP: []uint16{389},
|
||||||
DIAMETER: []uint16{3868},
|
DIAMETER: []uint16{3868},
|
||||||
},
|
},
|
||||||
|
Dashboard: configStructs.DashboardConfig{
|
||||||
|
CompleteStreamingEnabled: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -195,6 +195,10 @@ type RoutingConfig struct {
|
|||||||
Front FrontRoutingConfig `yaml:"front" json:"front"`
|
Front FrontRoutingConfig `yaml:"front" json:"front"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DashboardConfig struct {
|
||||||
|
CompleteStreamingEnabled bool `yaml:"completeStreamingEnabled" json:"completeStreamingEnabled" default:"true"`
|
||||||
|
}
|
||||||
|
|
||||||
type FrontRoutingConfig struct {
|
type FrontRoutingConfig struct {
|
||||||
BasePath string `yaml:"basePath" json:"basePath" default:""`
|
BasePath string `yaml:"basePath" json:"basePath" default:""`
|
||||||
}
|
}
|
||||||
@ -320,6 +324,7 @@ type TapConfig struct {
|
|||||||
Routing RoutingConfig `yaml:"routing" json:"routing"`
|
Routing RoutingConfig `yaml:"routing" json:"routing"`
|
||||||
IPv6 bool `yaml:"ipv6" json:"ipv6" default:"true"`
|
IPv6 bool `yaml:"ipv6" json:"ipv6" default:"true"`
|
||||||
Debug bool `yaml:"debug" json:"debug" default:"false"`
|
Debug bool `yaml:"debug" json:"debug" default:"false"`
|
||||||
|
Dashboard DashboardConfig `yaml:"dashboard" json:"dashboard"`
|
||||||
Telemetry TelemetryConfig `yaml:"telemetry" json:"telemetry"`
|
Telemetry TelemetryConfig `yaml:"telemetry" json:"telemetry"`
|
||||||
ResourceGuard ResourceGuardConfig `yaml:"resourceGuard" json:"resourceGuard"`
|
ResourceGuard ResourceGuardConfig `yaml:"resourceGuard" json:"resourceGuard"`
|
||||||
Watchdog WatchdogConfig `yaml:"watchdog" json:"watchdog"`
|
Watchdog WatchdogConfig `yaml:"watchdog" json:"watchdog"`
|
||||||
|
@ -36,6 +36,12 @@ spec:
|
|||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ .Values.tap.auth.type }}
|
{{ .Values.tap.auth.type }}
|
||||||
{{- end }}'
|
{{- end }}'
|
||||||
|
- name: REACT_APP_COMPLETE_STREAMING_ENABLED
|
||||||
|
value: '{{- if and (hasKey .Values.tap "dashboard") (hasKey .Values.tap.dashboard "completeStreamingEnabled") -}}
|
||||||
|
{{ eq .Values.tap.dashboard.completeStreamingEnabled true | ternary "true" "false" }}
|
||||||
|
{{- else -}}
|
||||||
|
true
|
||||||
|
{{- end }}'
|
||||||
- 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
|
||||||
|
@ -136,6 +136,8 @@ tap:
|
|||||||
basePath: ""
|
basePath: ""
|
||||||
ipv6: true
|
ipv6: true
|
||||||
debug: false
|
debug: false
|
||||||
|
dashboard:
|
||||||
|
completeStreamingEnabled: true
|
||||||
telemetry:
|
telemetry:
|
||||||
enabled: true
|
enabled: true
|
||||||
resourceGuard:
|
resourceGuard:
|
||||||
|
Loading…
Reference in New Issue
Block a user