kubectl-gadget: Add NET_RAW capability
This is needed by gadgets that open raw sockets like dns and snisnoop
@@ -295,6 +295,9 @@ spec:
# Needed by BCC python-based gadgets to load the kheaders module:
# https://github.com/iovisor/bcc/blob/v0.24.0/src/cc/frontends/clang/kbuild_helper.cc#L158
- SYS_MODULE
+
+ # Needed by gadgets that open a raw sock like dns and snisnoop
+ - NET_RAW
volumeMounts:
- name: host
mountPath: /host
