From 6401846ba51d1cfb37f04fb580c4f96f03e88715 Mon Sep 17 00:00:00 2001 From: Anish Ramasekar Date: Tue, 9 Jul 2019 14:47:01 -0700 Subject: [PATCH] Allow multiple node cidr masks in cm update tests add comment amend var name update comment add check for empty slice fix tests fix mask size in test review feedback add ipv4 and ipv6 flag for mask sizes add to violation exception list remove import alias run update-openapi-spec review feedback run update-bazel review feedback review feedback Kubernetes-commit: 796faba4ac96db07194c4811585abe52fd682064 --- config/v1alpha1/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 3d040ab..6f1d449 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -382,6 +382,10 @@ type NodeIPAMControllerConfiguration struct { SecondaryServiceCIDR string // NodeCIDRMaskSize is the mask size for node cidr in cluster. NodeCIDRMaskSize int32 + // NodeCIDRMaskSizeIPv4 is the mask size for node cidr in dual-stack cluster. + NodeCIDRMaskSizeIPv4 int32 + // NodeCIDRMaskSizeIPv6 is the mask size for node cidr in dual-stack cluster. + NodeCIDRMaskSizeIPv6 int32 } // NodeLifecycleControllerConfiguration contains elements describing NodeLifecycleController.