File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ type ClusterNetworkPolicySpec struct {
101101 Subject ClusterNetworkPolicySubject `json:"subject"`
102102
103103 // Ingress is the list of Ingress rules to be applied to the selected pods.
104- // A total of 100 rules will be allowed in each CNP instance.
104+ //
105+ // A maximum of 25 rules is allowed in this block.
106+ //
105107 // The relative precedence of ingress rules within a single CNP object
106108 // (all of which share the priority) will be determined by the order
107109 // in which the rule is written.
@@ -114,7 +116,9 @@ type ClusterNetworkPolicySpec struct {
114116 Ingress []ClusterNetworkPolicyIngressRule `json:"ingress,omitempty"`
115117
116118 // Egress is the list of Egress rules to be applied to the selected pods.
117- // A total of 100 rules will be allowed in each CNP instance.
119+ //
120+ // A maximum of 25 rules is allowed in this block.
121+ //
118122 // The relative precedence of egress rules within a single CNP object
119123 // (all of which share the priority) will be determined by the order
120124 // in which the rule is written.
Original file line number Diff line number Diff line change 5555 egress :
5656 description : |-
5757 Egress is the list of Egress rules to be applied to the selected pods.
58- A total of 100 rules will be allowed in each CNP instance.
58+
59+ A maximum of 25 rules is allowed in this block.
60+
5961 The relative precedence of egress rules within a single CNP object
6062 (all of which share the priority) will be determined by the order
6163 in which the rule is written.
@@ -491,7 +493,9 @@ spec:
491493 ingress :
492494 description : |-
493495 Ingress is the list of Ingress rules to be applied to the selected pods.
494- A total of 100 rules will be allowed in each CNP instance.
496+
497+ A maximum of 25 rules is allowed in this block.
498+
495499 The relative precedence of ingress rules within a single CNP object
496500 (all of which share the priority) will be determined by the order
497501 in which the rule is written.
Original file line number Diff line number Diff line change 5555 egress :
5656 description : |-
5757 Egress is the list of Egress rules to be applied to the selected pods.
58- A total of 100 rules will be allowed in each CNP instance.
58+
59+ A maximum of 25 rules is allowed in this block.
60+
5961 The relative precedence of egress rules within a single CNP object
6062 (all of which share the priority) will be determined by the order
6163 in which the rule is written.
@@ -385,7 +387,9 @@ spec:
385387 ingress :
386388 description : |-
387389 Ingress is the list of Ingress rules to be applied to the selected pods.
388- A total of 100 rules will be allowed in each CNP instance.
390+
391+ A maximum of 25 rules is allowed in this block.
392+
389393 The relative precedence of ingress rules within a single CNP object
390394 (all of which share the priority) will be determined by the order
391395 in which the rule is written.
You can’t perform that action at this time.
0 commit comments