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 7ab63ec745.

* Added the missing -disable-ebpf parameters to Tracer
This commit is contained in:
Alon Girmonsky
2024-04-23 15:31:19 -07:00
committed by GitHub
parent 0bb0c4b256
commit 32ffa6132d

View File

@@ -62,6 +62,9 @@ spec:
{{- if .Values.tap.kernelModule.enabled }} {{- if .Values.tap.kernelModule.enabled }}
- -kernel-module - -kernel-module
{{- end }} {{- end }}
{{- if ne .Values.tap.packetCapture "ebpf" }}
- -disable-ebpf
{{- end }}
{{- if .Values.tap.debug }} {{- if .Values.tap.debug }}
- -debug - -debug
- -dumptracer - -dumptracer
@@ -151,6 +154,9 @@ spec:
- ./tracer - ./tracer
- -procfs - -procfs
- /hostproc - /hostproc
{{- if ne .Values.tap.packetCapture "ebpf" }}
- -disable-ebpf
{{- end }}
{{- if .Values.tap.debug }} {{- if .Values.tap.debug }}
- -debug - -debug
{{- end }} {{- end }}