From 32ffa6132d5413dcfbc22aa2824abc61c3bcb732 Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Tue, 23 Apr 2024 15:31:19 -0700 Subject: [PATCH] Fix/disable ebpf by defalt again (#1538) * Revert "Revert "as eBPF is a significant feature that can impact many users, this PR is meant (#1532)"" This reverts commit 7ab63ec7459a116fbc34c30a7d29f152ab55d386. * Added the missing -disable-ebpf parameters to Tracer --- helm-chart/templates/09-worker-daemon-set.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 04e5a19ab..a86d3a12f 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -62,6 +62,9 @@ spec: {{- if .Values.tap.kernelModule.enabled }} - -kernel-module {{- end }} + {{- if ne .Values.tap.packetCapture "ebpf" }} + - -disable-ebpf + {{- end }} {{- if .Values.tap.debug }} - -debug - -dumptracer @@ -151,6 +154,9 @@ spec: - ./tracer - -procfs - /hostproc + {{- if ne .Values.tap.packetCapture "ebpf" }} + - -disable-ebpf + {{- end }} {{- if .Values.tap.debug }} - -debug {{- end }}