mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-20 13:33:48 +00:00
Add ENABLED_DISSECTORS
to ConfigMap
(#1570)
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
parent
13b35f1672
commit
c837874bbe
@ -73,6 +73,18 @@ func CreateDefaultConfig() ConfigStruct {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
EnabledDissectors: []string{
|
||||||
|
"amqp",
|
||||||
|
"dns",
|
||||||
|
"http",
|
||||||
|
"icmp",
|
||||||
|
"kafka",
|
||||||
|
"redis",
|
||||||
|
"sctp",
|
||||||
|
"syscall",
|
||||||
|
"tcp",
|
||||||
|
"ws",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -194,6 +194,7 @@ type TapConfig struct {
|
|||||||
StopTrafficCapturingDisabled bool `yaml:"stopTrafficCapturingDisabled" json:"stopTrafficCapturingDisabled" default:"false"`
|
StopTrafficCapturingDisabled bool `yaml:"stopTrafficCapturingDisabled" json:"stopTrafficCapturingDisabled" default:"false"`
|
||||||
Capabilities CapabilitiesConfig `yaml:"capabilities" json:"capabilities"`
|
Capabilities CapabilitiesConfig `yaml:"capabilities" json:"capabilities"`
|
||||||
GlobalFilter string `yaml:"globalFilter" json:"globalFilter"`
|
GlobalFilter string `yaml:"globalFilter" json:"globalFilter"`
|
||||||
|
EnabledDissectors []string `yaml:"enabledDissectors" json:"enabledDissectors"`
|
||||||
Metrics MetricsConfig `yaml:"metrics" json:"metrics"`
|
Metrics MetricsConfig `yaml:"metrics" json:"metrics"`
|
||||||
Misc MiscConfig `yaml:"misc" json:"misc"`
|
Misc MiscConfig `yaml:"misc" json:"misc"`
|
||||||
}
|
}
|
||||||
|
@ -45,4 +45,5 @@ data:
|
|||||||
{{ .Values.cloudLicenseEnabled }}
|
{{ .Values.cloudLicenseEnabled }}
|
||||||
{{- 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) "" }}'
|
||||||
|
|
||||||
|
@ -115,6 +115,17 @@ tap:
|
|||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
- IPC_LOCK
|
- IPC_LOCK
|
||||||
globalFilter: ""
|
globalFilter: ""
|
||||||
|
enabledDissectors:
|
||||||
|
- amqp
|
||||||
|
- dns
|
||||||
|
- http
|
||||||
|
- icmp
|
||||||
|
- kafka
|
||||||
|
- redis
|
||||||
|
- sctp
|
||||||
|
- syscall
|
||||||
|
- tcp
|
||||||
|
- ws
|
||||||
metrics:
|
metrics:
|
||||||
port: 49100
|
port: 49100
|
||||||
misc:
|
misc:
|
||||||
|
@ -234,11 +234,12 @@ data:
|
|||||||
AUTH_TYPE: 'oidc'
|
AUTH_TYPE: 'oidc'
|
||||||
AUTH_SAML_IDP_METADATA_URL: ''
|
AUTH_SAML_IDP_METADATA_URL: ''
|
||||||
AUTH_SAML_ROLE_ATTRIBUTE: 'role'
|
AUTH_SAML_ROLE_ATTRIBUTE: 'role'
|
||||||
AUTH_SAML_ROLES: '{"admin":{"canDownloadPCAP":true,"canUpdateTargetedPods":true,"canUseScripting":true,"filter":"","showAdminConsoleLink":true}}'
|
AUTH_SAML_ROLES: '{"admin":{"canDownloadPCAP":true,"canStopTrafficCapturing":true,"canUpdateTargetedPods":true,"canUseScripting":true,"filter":"","showAdminConsoleLink":true}}'
|
||||||
TELEMETRY_DISABLED: ''
|
TELEMETRY_DISABLED: ''
|
||||||
SCRIPTING_DISABLED: ''
|
SCRIPTING_DISABLED: ''
|
||||||
TARGETED_PODS_UPDATE_DISABLED: ''
|
TARGETED_PODS_UPDATE_DISABLED: ''
|
||||||
RECORDING_DISABLED: ''
|
RECORDING_DISABLED: ''
|
||||||
|
STOP_TRAFFIC_CAPTURING_DISABLED: 'false'
|
||||||
GLOBAL_FILTER: ""
|
GLOBAL_FILTER: ""
|
||||||
TRAFFIC_SAMPLE_RATE: '100'
|
TRAFFIC_SAMPLE_RATE: '100'
|
||||||
JSON_TTL: '5m'
|
JSON_TTL: '5m'
|
||||||
@ -247,6 +248,7 @@ data:
|
|||||||
TIMEZONE: ' '
|
TIMEZONE: ' '
|
||||||
CLOUD_LICENSE_ENABLED: 'true'
|
CLOUD_LICENSE_ENABLED: 'true'
|
||||||
DUPLICATE_TIMEFRAME: '200ms'
|
DUPLICATE_TIMEFRAME: '200ms'
|
||||||
|
ENABLED_DISSECTORS: 'amqp,dns,http,icmp,kafka,redis,sctp,syscall,tcp,ws'
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/02-cluster-role.yaml
|
# Source: kubeshark/templates/02-cluster-role.yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
@ -773,6 +775,8 @@ spec:
|
|||||||
value: 'false'
|
value: 'false'
|
||||||
- name: REACT_APP_RECORDING_DISABLED
|
- name: REACT_APP_RECORDING_DISABLED
|
||||||
value: 'false'
|
value: 'false'
|
||||||
|
- name: REACT_APP_STOP_TRAFFIC_CAPTURING_DISABLED
|
||||||
|
value: 'false'
|
||||||
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
||||||
value: 'true'
|
value: 'true'
|
||||||
image: 'docker.io/kubeshark/front:v52.3.69'
|
image: 'docker.io/kubeshark/front:v52.3.69'
|
||||||
|
Loading…
Reference in New Issue
Block a user