From b51cae02d8a8a56140a6b8720ac68ccfb650bb85 Mon Sep 17 00:00:00 2001 From: justinsb Date: Mon, 4 Sep 2023 13:31:58 -0400 Subject: [PATCH] Clarify comment on nonMasqueradeCIDR field. Should not have any code impact. --- pkg/apis/kops/networking.go | 2 +- pkg/apis/kops/v1alpha2/cluster.go | 2 +- pkg/apis/kops/v1alpha3/networking.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/apis/kops/networking.go b/pkg/apis/kops/networking.go index f6b70e3911..ddacc4077f 100644 --- a/pkg/apis/kops/networking.go +++ b/pkg/apis/kops/networking.go @@ -44,7 +44,7 @@ type NetworkingSpec struct { // HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy EgressProxy *EgressProxySpec `json:"egressProxy,omitempty"` - // NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live) + // NonMasqueradeCIDR is the CIDR for the internal k8s network (for pod IPs) // It cannot overlap ServiceClusterIPRange NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"` // PodCIDR is the CIDR from which we allocate IPs for pods diff --git a/pkg/apis/kops/v1alpha2/cluster.go b/pkg/apis/kops/v1alpha2/cluster.go index ea8da2530e..11da0d1abd 100644 --- a/pkg/apis/kops/v1alpha2/cluster.go +++ b/pkg/apis/kops/v1alpha2/cluster.go @@ -127,7 +127,7 @@ type ClusterSpec struct { // +k8s:conversion-gen=false PodCIDR string `json:"podCIDR,omitempty"` // MasterIPRange string `json:",omitempty"` - // NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live) + // NonMasqueradeCIDR is the CIDR for the internal k8s network (for pod IPs) // It cannot overlap ServiceClusterIPRange // +k8s:conversion-gen=false NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"` diff --git a/pkg/apis/kops/v1alpha3/networking.go b/pkg/apis/kops/v1alpha3/networking.go index e0d76b8dcf..d240f62054 100644 --- a/pkg/apis/kops/v1alpha3/networking.go +++ b/pkg/apis/kops/v1alpha3/networking.go @@ -48,7 +48,7 @@ type NetworkingSpec struct { // HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy EgressProxy *EgressProxySpec `json:"egressProxy,omitempty"` - // NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live) + // NonMasqueradeCIDR is the CIDR for the internal k8s network (for pod IPs) // It cannot overlap ServiceClusterIPRange NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"` // PodCIDR is the CIDR from which we allocate IPs for pods