add CAP_NET_RAW to netadmin profile and remove privileged

This commit is contained in:
mochizuki875
2023-06-13 13:08:06 +09:00
parent 294bde0079
commit e22f8ed553
5 changed files with 95 additions and 33 deletions

View File

@@ -1029,12 +1029,14 @@ runTests() {
record_command run_kubectl_debug_general_tests
record_command run_kubectl_debug_baseline_tests
record_command run_kubectl_debug_restricted_tests
record_command run_kubectl_debug_netadmin_tests
fi
if kube::test::if_supports_resource "${nodes}" ; then
record_command run_kubectl_debug_node_tests
record_command run_kubectl_debug_general_node_tests
record_command run_kubectl_debug_baseline_node_tests
record_command run_kubectl_debug_restricted_node_tests
record_command run_kubectl_debug_netadmin_node_tests
fi
cleanup_tests