Skip to content

Commit 3c3cd83

Browse files
committed
add HostSubnet.EgressCIDRs
1 parent a93a22b commit 3c3cd83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: network/v1/types.go

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ type HostSubnet struct {
7272
// EgressIPs is the list of automatic egress IP addresses currently hosted by this node
7373
// +optional
7474
EgressIPs []string `json:"egressIPs,omitempty" protobuf:"bytes,5,rep,name=egressIPs"`
75+
// EgressCIDRs is the list of CIDR ranges available for automatically assigning
76+
// egress IPs to this node from. If this field is set then EgressIPs should be
77+
// treated as read-only.
78+
// +optional
79+
EgressCIDRs []string `json:"egressCIDRs,omitempty" protobuf:"bytes,6,rep,name=egressCIDRs"`
7580
}
7681

7782
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

0 commit comments

Comments
 (0)