Skip to content

Commit 6268c4e

Browse files
Merge pull request openshift#2668 from npinaeva/mnp-endport
SDN-5701: [multus-networkpolicy] Update CRD to the latest v1beta1
2 parents b0aaa7d + 3278fca commit 6268c4e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bindata/network/multus-networkpolicy/001-scheme.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ spec:
5959
be a numerical or named port on a pod. If this field is
6060
not provided, this matches all port names and numbers."
6161
x-kubernetes-int-or-string: true
62+
endPort:
63+
type: integer
64+
format: int32
65+
description: "If set, indicates that the range of ports from
66+
port to endPort, inclusive, should be allowed by the policy.
67+
This field cannot be defined if the port field is not
68+
defined or if the port field is defined as a named (string)
69+
port. The endPort must be equal or greater than port."
6270
protocol:
6371
description: "The protocol (TCP, UDP, or SCTP) which traffic
6472
must match. If not specified, this field defaults to TCP."
@@ -373,6 +381,14 @@ spec:
373381
be a numerical or named port on a pod. If this field is
374382
not provided, this matches all port names and numbers."
375383
x-kubernetes-int-or-string: true
384+
endPort:
385+
type: integer
386+
format: int32
387+
description: "If set, indicates that the range of ports from
388+
port to endPort, inclusive, should be allowed by the policy.
389+
This field cannot be defined if the port field is not
390+
defined or if the port field is defined as a named (string)
391+
port. The endPort must be equal or greater than port."
376392
protocol:
377393
description: "The protocol (TCP, UDP, or SCTP) which traffic
378394
must match. If not specified, this field defaults to TCP."

0 commit comments

Comments
 (0)