mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-23 14:58:44 +00:00
🔨 Create dissectorsUiEnabled
flag (#1599)
* 🔨 Create `dissectorsUiEnabled` flag * 🔨 Rename `dissectorsUiEnabled` flag * 🔨 Add `DISSECTORS_UPDATING_ENABLED` config * 🔨 Set `dissectorsUpdatingEnabled: true` by default
This commit is contained in:
parent
1dfef1be23
commit
32caeb37e4
@ -109,6 +109,7 @@ type ConfigStruct struct {
|
|||||||
CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"`
|
CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"`
|
||||||
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
|
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
|
||||||
InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"`
|
InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"`
|
||||||
|
DissectorsUpdatingEnabled bool `yaml:"dissectorsUpdatingEnabled" json:"dissectorsUpdatingEnabled" default:"true"`
|
||||||
Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"`
|
Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"`
|
||||||
Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"`
|
Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"`
|
||||||
Timezone string `yaml:"timezone" json:"timezone"`
|
Timezone string `yaml:"timezone" json:"timezone"`
|
||||||
|
@ -188,6 +188,7 @@ Please refer to [metrics](./metrics.md) documentation for details.
|
|||||||
| `timezone` | IANA time zone applied to time shown in the front-end | `""` (local time zone applies) |
|
| `timezone` | IANA time zone applied to time shown in the front-end | `""` (local time zone applies) |
|
||||||
| `supportChatEnabled` | Enable real-time support chat channel based on Intercom | `true` |
|
| `supportChatEnabled` | Enable real-time support chat channel based on Intercom | `true` |
|
||||||
| `internetConnectivity` | Turns off API requests that are dependant on Internet connectivity such as `telemetry` and `online-support`. | `true` |
|
| `internetConnectivity` | Turns off API requests that are dependant on Internet connectivity such as `telemetry` and `online-support`. | `true` |
|
||||||
|
| `dissectorsUpdatingEnabled` | Turns off UI for enabling/disabling dissectors | `true` |
|
||||||
|
|
||||||
KernelMapping pairs kernel versions with a
|
KernelMapping pairs kernel versions with a
|
||||||
DriverContainer image. Kernel versions can be matched
|
DriverContainer image. Kernel versions can be matched
|
||||||
|
@ -60,6 +60,8 @@ spec:
|
|||||||
{{- end }}'
|
{{- end }}'
|
||||||
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
||||||
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
|
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
|
||||||
|
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
|
||||||
|
value: '{{ .Values.dissectorsUpdatingEnabled | ternary "true" "false" }}'
|
||||||
{{- if .Values.tap.docker.overrideTag.front }}
|
{{- if .Values.tap.docker.overrideTag.front }}
|
||||||
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.overrideTag.front }}'
|
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.overrideTag.front }}'
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@ -47,5 +47,6 @@ data:
|
|||||||
{{- end }}'
|
{{- end }}'
|
||||||
DUPLICATE_TIMEFRAME: '{{ .Values.tap.misc.duplicateTimeframe }}'
|
DUPLICATE_TIMEFRAME: '{{ .Values.tap.misc.duplicateTimeframe }}'
|
||||||
ENABLED_DISSECTORS: '{{ gt (len .Values.tap.enabledDissectors) 0 | ternary (join "," .Values.tap.enabledDissectors) "" }}'
|
ENABLED_DISSECTORS: '{{ gt (len .Values.tap.enabledDissectors) 0 | ternary (join "," .Values.tap.enabledDissectors) "" }}'
|
||||||
|
DISSECTORS_UPDATING_ENABLED: '{{ .Values.dissectorsUpdatingEnabled | ternary "true" "false" }}'
|
||||||
DETECT_DUPLICATES: '{{ .Values.tap.misc.detectDuplicates | ternary "true" "false" }}'
|
DETECT_DUPLICATES: '{{ .Values.tap.misc.detectDuplicates | ternary "true" "false" }}'
|
||||||
|
|
||||||
|
@ -152,6 +152,7 @@ license: ""
|
|||||||
cloudLicenseEnabled: true
|
cloudLicenseEnabled: true
|
||||||
supportChatEnabled: true
|
supportChatEnabled: true
|
||||||
internetConnectivity: true
|
internetConnectivity: true
|
||||||
|
dissectorsUpdatingEnabled: true
|
||||||
scripting:
|
scripting:
|
||||||
env: {}
|
env: {}
|
||||||
source: ""
|
source: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user