From 0375192c5cef1035af033e4d4add196129f8f459 Mon Sep 17 00:00:00 2001 From: Kundan Kumar Date: Thu, 13 Jun 2024 12:09:02 +0530 Subject: [PATCH] kube-proxy confif update --- pkg/generated/openapi/zz_generated.openapi.go | 4 ++-- staging/src/k8s.io/kube-proxy/config/v1alpha1/types.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 7b80b8eba59..8a926e5ad94 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -59090,7 +59090,7 @@ func schema_k8sio_kube_proxy_config_v1alpha1_KubeProxyConfiguration(ref common.R }, "detectLocalMode": { SchemaProps: spec.SchemaProps{ - Description: "detectLocalMode determines mode to use for detecting local traffic, defaults to LocalModeClusterCIDR", + Description: "detectLocalMode determines mode to use for detecting local traffic, defaults to ClusterCIDR", Default: "", Type: []string{"string"}, Format: "", @@ -59105,7 +59105,7 @@ func schema_k8sio_kube_proxy_config_v1alpha1_KubeProxyConfiguration(ref common.R }, "clusterCIDR": { SchemaProps: spec.SchemaProps{ - Description: "clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When DetectLocalMode is set to LocalModeClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.)", + Description: "clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When DetectLocalMode is set to ClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.)", Default: "", Type: []string{"string"}, Format: "", diff --git a/staging/src/k8s.io/kube-proxy/config/v1alpha1/types.go b/staging/src/k8s.io/kube-proxy/config/v1alpha1/types.go index c9a19e39b73..25e65830dc6 100644 --- a/staging/src/k8s.io/kube-proxy/config/v1alpha1/types.go +++ b/staging/src/k8s.io/kube-proxy/config/v1alpha1/types.go @@ -213,13 +213,13 @@ type KubeProxyConfiguration struct { // winkernel contains winkernel-related configuration options. Winkernel KubeProxyWinkernelConfiguration `json:"winkernel"` - // detectLocalMode determines mode to use for detecting local traffic, defaults to LocalModeClusterCIDR + // detectLocalMode determines mode to use for detecting local traffic, defaults to ClusterCIDR DetectLocalMode LocalMode `json:"detectLocalMode"` // detectLocal contains optional configuration settings related to DetectLocalMode. DetectLocal DetectLocalConfiguration `json:"detectLocal"` // clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack // clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When - // DetectLocalMode is set to LocalModeClusterCIDR, kube-proxy will consider + // DetectLocalMode is set to ClusterCIDR, kube-proxy will consider // traffic to be local if its source IP is in this range. (Otherwise it is not // used.) ClusterCIDR string `json:"clusterCIDR"`