@@ -191,9 +191,15 @@ spec:
191
191
items :
192
192
description : |-
193
193
BaselineAdminNetworkPolicyEgressPeer defines a peer to allow traffic to.
194
- Exactly one of the selector pointers must be set for a given peer. If a
195
- consumer observes none of its fields are set, they must assume an unknown
196
- option has been specified and fail closed.
194
+
195
+ Exactly one of the fields must be set for a given peer and this is enforced
196
+ by the validation rules on the CRD. If an implementation sees no fields are
197
+ set then it can infer that the deployed CRD is of an incompatible version
198
+ with an unknown field. In that case it should fail closed.
199
+
200
+ For "Allow" rules, "fail closed" means: "treat the rule as matching no
201
+ traffic". For "Deny" and "Pass" rules, "fail closed" means: "treat the rule
202
+ as a 'Deny all' rule".
197
203
maxProperties : 1
198
204
minProperties : 1
199
205
properties :
@@ -498,10 +504,16 @@ spec:
498
504
Support: Core
499
505
items :
500
506
description : |-
501
- AdminNetworkPolicyIngressPeer defines an in-cluster peer to allow traffic from.
502
- Exactly one of the selector pointers must be set for a given peer. If a
503
- consumer observes none of its fields are set, they must assume an unknown
504
- option has been specified and fail closed.
507
+ AdminNetworkPolicyIngressPeer defines a peer to allow traffic to.
508
+
509
+ Exactly one of the fields must be set for a given peer and this is enforced
510
+ by the validation rules on the CRD. If an implementation sees no fields are
511
+ set then it can infer that the deployed CRD is of an incompatible version
512
+ with an unknown field. In that case it should fail closed.
513
+
514
+ For "Allow" rules, "fail closed" means: "treat the rule as matching no
515
+ traffic". For "Deny" and "Pass" rules, "fail closed" means: "treat the rule
516
+ as a 'Deny all' rule".
505
517
maxProperties : 1
506
518
minProperties : 1
507
519
properties :
0 commit comments