From bed9d06c598dcdc5461329ebf0aee8448fca709c Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Mon, 15 Jan 2024 00:39:32 +0200 Subject: [PATCH] Pass kernel-module flag only if pf_ring enabled (#1480) --- helm-chart/templates/09-worker-daemon-set.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 702f08845..0c9d78e0e 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -56,8 +56,9 @@ spec: {{- end }} - -procfs - /hostproc - # TODO: remove - - -no-kernel-module + {{- if .Values.tap.kernelModule.enabled }} + - -kernel-module + {{- end }} {{- if .Values.tap.debug }} - -debug {{- end }}