Add NET_RAW capability to internal_ports test
The "TCP and UDP on ports" test does a tcpdump which
requires the NET_RAW capability to be enabled.
We are dropping NET_RAW from the default list of
capabilities in cri-o, so need to explicitly add it
to the test here.
@@ -84,6 +84,11 @@ var _ = ginkgo.Describe("[sig-network] Internal connectivity", func() {
},
},
},
+ SecurityContext: &v1.SecurityContext{
+ Capabilities: &v1.Capabilities{
+ Add: []v1.Capability{"NET_RAW"},
+ },
+ },
},
},
},
