Skip to content

Commit 2d97fc0

Browse files
authored
Merge pull request #4160 from mochizuki875/fix_netadmin_profile
KEP-1441: Update netadmin profile to add CAP_NET_RAW and remove privileged
2 parents 67818ee + 759e378 commit 2d97fc0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

keps/sig-cli/1441-kubectl-debug/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -401,11 +401,11 @@ Probes and labels are be stripped from Pod copies.
401401

402402
#### Profile: netadmin
403403

404-
| Journey | Debug Container Behavior |
405-
| ------------------- | -------------------------------------------------------------------------- |
406-
| Node | sets `NET_ADMIN` and privileged; uses host namespaces |
407-
| Pod Copy | sets `NET_ADMIN` on debugging container |
408-
| Ephemeral Container | sets `NET_ADMIN` on ephemeral container |
404+
| Journey | Debug Container Behavior |
405+
| ------------------- | --------------------------------------------------------------------------------- |
406+
| Node | sets `NET_ADMIN` and `NET_RAW`; uses host namespaces |
407+
| Pod Copy | sets `NET_ADMIN` and `NET_RAW` on debugging container; sets shareProcessNamespace |
408+
| Ephemeral Container | sets `NET_ADMIN` and `NET_RAW` on ephemeral container |
409409

410410
This profile offers elevated privileges for network debugging.
411411

0 commit comments

Comments
 (0)