mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-11 21:32:37 +00:00
⏪ Bring back the packet-capture
flag
This commit is contained in:
parent
ef44257942
commit
24aa4db0bc
@ -161,6 +161,7 @@ type TapConfig struct {
|
|||||||
Resources ResourcesConfig `yaml:"resources" json:"resources"`
|
Resources ResourcesConfig `yaml:"resources" json:"resources"`
|
||||||
ServiceMesh bool `yaml:"serviceMesh" json:"serviceMesh" default:"true"`
|
ServiceMesh bool `yaml:"serviceMesh" json:"serviceMesh" default:"true"`
|
||||||
Tls bool `yaml:"tls" json:"tls" default:"true"`
|
Tls bool `yaml:"tls" json:"tls" default:"true"`
|
||||||
|
PacketCapture string `yaml:"packetCapture" json:"packetCapture" default:"best"`
|
||||||
IgnoreTainted bool `yaml:"ignoreTainted" json:"ignoreTainted" default:"false"`
|
IgnoreTainted bool `yaml:"ignoreTainted" json:"ignoreTainted" default:"false"`
|
||||||
Labels map[string]string `yaml:"labels" json:"labels" default:"{}"`
|
Labels map[string]string `yaml:"labels" json:"labels" default:"{}"`
|
||||||
Annotations map[string]string `yaml:"annotations" json:"annotations" default:"{}"`
|
Annotations map[string]string `yaml:"annotations" json:"annotations" default:"{}"`
|
||||||
|
@ -51,6 +51,8 @@ spec:
|
|||||||
- '{{ .Values.tap.proxy.worker.srvPort }}'
|
- '{{ .Values.tap.proxy.worker.srvPort }}'
|
||||||
- -metrics-port
|
- -metrics-port
|
||||||
- '{{ .Values.tap.metrics.port }}'
|
- '{{ .Values.tap.metrics.port }}'
|
||||||
|
- -packet-capture
|
||||||
|
- '{{ .Values.tap.packetCapture }}'
|
||||||
- -unixsocket
|
- -unixsocket
|
||||||
{{- if .Values.tap.serviceMesh }}
|
{{- if .Values.tap.serviceMesh }}
|
||||||
- -servicemesh
|
- -servicemesh
|
||||||
|
@ -48,6 +48,7 @@ tap:
|
|||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
serviceMesh: true
|
serviceMesh: true
|
||||||
tls: true
|
tls: true
|
||||||
|
packetCapture: best
|
||||||
ignoreTainted: false
|
ignoreTainted: false
|
||||||
labels: {}
|
labels: {}
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
@ -451,6 +451,8 @@ spec:
|
|||||||
- '31001'
|
- '31001'
|
||||||
- -metrics-port
|
- -metrics-port
|
||||||
- '49100'
|
- '49100'
|
||||||
|
- -packet-capture
|
||||||
|
- 'best'
|
||||||
- -unixsocket
|
- -unixsocket
|
||||||
- -servicemesh
|
- -servicemesh
|
||||||
- -procfs
|
- -procfs
|
||||||
|
Loading…
Reference in New Issue
Block a user