Verified on 4.4.0-0.nightly-2020-10-05-235326 1. Created a egressnetworkpolicy with 1000 rules in it, succeeded. oc create -f egressnetworkpolicy_1000.json egressnetworkpolicy.network.openshift.io/policy-1000 created $ grep -c type egressnetworkpolicy_1000.json 1000 2. Created a egressnetworkpolicy with 1001 rules in it, failed. oc create -f egressnetworkpolicy_1001.json The EgressNetworkPolicy "policy-1001" is invalid: spec.egress: Invalid value: "": spec.egress in body should have at most 1000 items $ grep -c type egressnetworkpolicy_1001.json 1001
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.4.29 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4224