mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-16 09:26:39 +00:00
🔨 Update the capabilities
This commit is contained in:
parent
68877b254b
commit
6b8beb50ad
@ -72,6 +72,14 @@ spec:
|
||||
{{- if not .Values.tap.noKernelModule }}
|
||||
# SYS_MODULE is required to install kernel modules
|
||||
- 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
|
||||
{{- end }}
|
||||
@ -127,10 +135,10 @@ spec:
|
||||
- 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
|
||||
# SYS_RESOURCE is required to change rlimits for eBPF
|
||||
- SYS_RESOURCE
|
||||
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
||||
- CHECKPOINT_RESTORE
|
||||
drop:
|
||||
- ALL
|
||||
volumeMounts:
|
||||
|
@ -320,6 +320,12 @@ spec:
|
||||
- NET_ADMIN
|
||||
# SYS_MODULE is required to install kernel modules
|
||||
- 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
|
||||
drop:
|
||||
@ -370,10 +376,10 @@ spec:
|
||||
- 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
|
||||
# SYS_RESOURCE is required to change rlimits for eBPF
|
||||
- SYS_RESOURCE
|
||||
# CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
|
||||
- CHECKPOINT_RESTORE
|
||||
drop:
|
||||
- ALL
|
||||
volumeMounts:
|
||||
|
Loading…
Reference in New Issue
Block a user