mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-17 18:02:06 +00:00
🔨 Update the capabilities
This commit is contained in:
parent
68877b254b
commit
6b8beb50ad
@ -72,6 +72,14 @@ spec:
|
|||||||
{{- if not .Values.tap.noKernelModule }}
|
{{- if not .Values.tap.noKernelModule }}
|
||||||
# SYS_MODULE is required to install kernel modules
|
# SYS_MODULE is required to install kernel modules
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.tap.serviceMesh }}
|
||||||
|
# SYS_ADMIN is required to read /proc/PID/net/ns + to install eBPF programs (kernel < 5.8)
|
||||||
|
- SYS_ADMIN
|
||||||
|
# SYS_PTRACE is required to set netns to other process + to open libssl.so of other process
|
||||||
|
- SYS_PTRACE
|
||||||
|
# DAC_OVERRIDE is required to read /proc/PID/environ
|
||||||
|
- DAC_OVERRIDE
|
||||||
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
||||||
- CHECKPOINT_RESTORE
|
- CHECKPOINT_RESTORE
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@ -127,10 +135,10 @@ spec:
|
|||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
# SYS_PTRACE is required to set netns to other process + to open libssl.so of other process
|
# SYS_PTRACE is required to set netns to other process + to open libssl.so of other process
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
# DAC_OVERRIDE is required to read /proc/PID/environ
|
|
||||||
- DAC_OVERRIDE
|
|
||||||
# SYS_RESOURCE is required to change rlimits for eBPF
|
# SYS_RESOURCE is required to change rlimits for eBPF
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
|
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
||||||
|
- CHECKPOINT_RESTORE
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
@ -320,6 +320,12 @@ spec:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
# SYS_MODULE is required to install kernel modules
|
# SYS_MODULE is required to install kernel modules
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
|
# SYS_ADMIN is required to read /proc/PID/net/ns + to install eBPF programs (kernel < 5.8)
|
||||||
|
- SYS_ADMIN
|
||||||
|
# SYS_PTRACE is required to set netns to other process + to open libssl.so of other process
|
||||||
|
- SYS_PTRACE
|
||||||
|
# DAC_OVERRIDE is required to read /proc/PID/environ
|
||||||
|
- DAC_OVERRIDE
|
||||||
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
||||||
- CHECKPOINT_RESTORE
|
- CHECKPOINT_RESTORE
|
||||||
drop:
|
drop:
|
||||||
@ -370,10 +376,10 @@ spec:
|
|||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
# SYS_PTRACE is required to set netns to other process + to open libssl.so of other process
|
# SYS_PTRACE is required to set netns to other process + to open libssl.so of other process
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
# DAC_OVERRIDE is required to read /proc/PID/environ
|
|
||||||
- DAC_OVERRIDE
|
|
||||||
# SYS_RESOURCE is required to change rlimits for eBPF
|
# SYS_RESOURCE is required to change rlimits for eBPF
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
|
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
||||||
|
- CHECKPOINT_RESTORE
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
Loading…
Reference in New Issue
Block a user