diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 565d25c54..55ac3b539 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -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:"{}"` diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index dc9d10070..49cfd08ce 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -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 diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 1ec910909..1924608d9 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -48,6 +48,7 @@ tap: memory: 50Mi serviceMesh: true tls: true + packetCapture: best ignoreTainted: false labels: {} annotations: {} diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 8837028bf..e0dd69c3a 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -451,6 +451,8 @@ spec: - '31001' - -metrics-port - '49100' + - -packet-capture + - 'best' - -unixsocket - -servicemesh - -procfs