From 7b478d15d5838e14b8286c9b541c8cbd626cbe3c Mon Sep 17 00:00:00 2001 From: Anish Ramasekar Date: Wed, 20 Nov 2019 22:08:58 -0800 Subject: [PATCH] Set node cidr mask size ipv4/ipv6 config --- cmd/kube-controller-manager/app/options/nodeipamcontroller.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/kube-controller-manager/app/options/nodeipamcontroller.go b/cmd/kube-controller-manager/app/options/nodeipamcontroller.go index a7a90bfa765..0a897e472bd 100644 --- a/cmd/kube-controller-manager/app/options/nodeipamcontroller.go +++ b/cmd/kube-controller-manager/app/options/nodeipamcontroller.go @@ -57,6 +57,8 @@ func (o *NodeIPAMControllerOptions) ApplyTo(cfg *nodeipamconfig.NodeIPAMControll } cfg.NodeCIDRMaskSize = o.NodeCIDRMaskSize + cfg.NodeCIDRMaskSizeIPv4 = o.NodeCIDRMaskSizeIPv4 + cfg.NodeCIDRMaskSizeIPv6 = o.NodeCIDRMaskSizeIPv6 return nil }