Bug 1881430

Summary: bump EgressNetworkPolicy maxItems to 1000
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: NetworkingAssignee: Dan Winship <danw>
Networking sub component: openshift-sdn QA Contact: huirwang
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: unspecified CC: huirwang, rbrattai
Version: 4.6   
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-28 08:11:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1881429    
Bug Blocks:    

Comment 2 Ross Brattain 2020-10-06 14:25:33 UTC
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

Comment 5 errata-xmlrpc 2020-10-28 08:11:50 UTC
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