Bring back the packet-capture flag

This commit is contained in:
M. Mert Yildiran 2024-03-28 01:42:16 +03:00
parent ef44257942
commit 24aa4db0bc
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
4 changed files with 6 additions and 0 deletions

View File

@ -161,6 +161,7 @@ type TapConfig struct {
Resources ResourcesConfig `yaml:"resources" json:"resources"`
ServiceMesh bool `yaml:"serviceMesh" json:"serviceMesh" 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"`
Labels map[string]string `yaml:"labels" json:"labels" default:"{}"`
Annotations map[string]string `yaml:"annotations" json:"annotations" default:"{}"`

View File

@ -51,6 +51,8 @@ spec:
- '{{ .Values.tap.proxy.worker.srvPort }}'
- -metrics-port
- '{{ .Values.tap.metrics.port }}'
- -packet-capture
- '{{ .Values.tap.packetCapture }}'
- -unixsocket
{{- if .Values.tap.serviceMesh }}
- -servicemesh

View File

@ -48,6 +48,7 @@ tap:
memory: 50Mi
serviceMesh: true
tls: true
packetCapture: best
ignoreTainted: false
labels: {}
annotations: {}

View File

@ -451,6 +451,8 @@ spec:
- '31001'
- -metrics-port
- '49100'
- -packet-capture
- 'best'
- -unixsocket
- -servicemesh
- -procfs