mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-04-27 19:47:31 +00:00
Do not use privileged containers for worker init
This commit is contained in:
parent
639f1deb51
commit
014036ffcf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user