From c1e123103e4a050870a636c4ee237ae545147cab Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Mon, 2 Mar 2020 19:42:47 +0100 Subject: [PATCH] Fix documentation for enableNodePort and IPAM --- pkg/apis/kops/networking.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/kops/networking.go b/pkg/apis/kops/networking.go index 024a9d06c6..6434617a7b 100644 --- a/pkg/apis/kops/networking.go +++ b/pkg/apis/kops/networking.go @@ -387,7 +387,7 @@ type CiliumNetworkingSpec struct { // Default: none ContainerRuntimeLabels string `json:"containerRuntimeLabels,omitempty"` // Ipam determines the IP address allocation mode to use. - // "eni" will use AWS native networking for pods + // "eni" will use AWS native networking for pods. Eni requires masquerade to be set to false. Ipam string `json:"ipam,omitempty"` // IPTablesRulesNoinstall disables installing the base IPTables rules used for masquerading and kube-proxy. // Default: false @@ -396,7 +396,7 @@ type CiliumNetworkingSpec struct { // Default: false AutoDirectNodeRoutes bool `json:"autoDirectNodeRoutes"` // EnableNodePort replaces kube-proxy with Cilium's BPF implementation. - // Requires masquerading to be disabled. + // Requires spec.kubeProxy.enabled be set to false. // Default: false EnableNodePort bool `json:"enableNodePort"`