mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-16 14:53:49 +00:00
Do not use privileged containers for worker init
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user