upgrade IPv6DualStack feature to beta and turn on by default

This commit is contained in:
Khaled (Kal) Henidak
2021-02-10 16:29:35 +00:00
parent f48972e671
commit 3e56ddae67
4 changed files with 4 additions and 9 deletions

View File

@@ -104,11 +104,6 @@ func NewNodeIpamController(
klog.Fatal("Controller: Must specify --cluster-cidr if --allocate-node-cidrs is set")
}
// TODO: (khenidak) IPv6DualStack beta:
// - modify mask to allow flexible masks for IPv4 and IPv6
// - for alpha status they are the same
// for each cidr, node mask size must be <= cidr mask
for idx, cidr := range clusterCIDRs {
mask := cidr.Mask
if maskSize, _ := mask.Size(); maskSize > nodeCIDRMaskSizes[idx] {