🔨 Add KernelModuleConfig struct to TapConfig

This commit is contained in:
M. Mert Yildiran
2023-12-28 22:09:01 +03:00
parent 6c01078f97
commit 36767eda27
6 changed files with 27 additions and 74 deletions

View File

@@ -25,7 +25,7 @@ spec:
name: kubeshark-worker-daemon-set
namespace: kubeshark
spec:
{{ if and (eq .Values.tap.kernelModule.enabled true) (eq .Values.tap.kernelModule.mode "kmm")}}
{{- if and (eq .Values.tap.kernelModule.enabled true) (eq .Values.tap.kernelModule.mode "kmm")}}
initContainers:
- name: wait-for-pf-ring
image: alpine:3.18
@@ -41,7 +41,7 @@ spec:
sleep 5;
fi
done
{{ end }}
{{- end }}
containers:
- command:
- ./worker