Clarify comment on nonMasqueradeCIDR field.

Should not have any code impact.
This commit is contained in:
justinsb 2023-09-04 13:31:58 -04:00
parent ccb39750d0
commit b51cae02d8
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"`

View File

@ -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