Commit 9c683ca
authored
fix(helm): remove privileged:true from dataplane and init containers (#1050)
Drop privileged security context from the dataplane container,
sysctl-setup init container, and mount-bpffs init container. Replace
with least-privilege capability sets: NET_BIND_SERVICE for the
dataplane, NET_ADMIN+SYS_ADMIN for sysctl-setup (needs sysctl writes),
and SYS_ADMIN for mount-bpffs (needs mount). All containers now drop
ALL capabilities and only add what they need.
Fixes #10351 parent 6674797 commit 9c683ca
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
80 | 91 | | |
81 | 92 | | |
82 | 93 | | |
| |||
218 | 229 | | |
219 | 230 | | |
220 | 231 | | |
221 | | - | |
| 232 | + | |
222 | 233 | | |
| 234 | + | |
| 235 | + | |
223 | 236 | | |
224 | | - | |
225 | | - | |
| 237 | + | |
226 | 238 | | |
227 | 239 | | |
228 | 240 | | |
| |||
0 commit comments