mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-04-28 03:52:23 +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 }}
|
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
|
||||||
name: check-bpf
|
name: check-bpf
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
capabilities:
|
||||||
|
add:
|
||||||
|
- CAP_SYS_ADMIN
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /sys
|
- mountPath: /sys
|
||||||
name: sys
|
name: sys
|
||||||
@ -54,7 +56,9 @@ spec:
|
|||||||
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
|
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
|
||||||
name: init-bpf
|
name: init-bpf
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
capabilities:
|
||||||
|
add:
|
||||||
|
- CAP_SYS_ADMIN
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /sys
|
- mountPath: /sys
|
||||||
name: sys
|
name: sys
|
||||||
|
Loading…
Reference in New Issue
Block a user