diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 5119e42ac..7ce2e0164 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -38,7 +38,9 @@ spec: imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }} name: check-bpf securityContext: - privileged: true + capabilities: + add: + - CAP_SYS_ADMIN volumeMounts: - mountPath: /sys name: sys @@ -54,7 +56,9 @@ spec: imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }} name: init-bpf securityContext: - privileged: true + capabilities: + add: + - CAP_SYS_ADMIN volumeMounts: - mountPath: /sys name: sys