From daf8d8f439348a3c71471dfa062e56f71d53ae03 Mon Sep 17 00:00:00 2001 From: carlory Date: Thu, 21 Mar 2024 17:21:25 +0800 Subject: [PATCH] kube-controller-manager removed deprecated command flags: --volume-host-cidr-denylist and --volume-host-allow-local-loopback Kubernetes-commit: 214287b370d0534b63230fc4caf93a448a5c168f --- config/v1alpha1/types.go | 6 ------ config/v1alpha1/zz_generated.deepcopy.go | 10 ---------- 2 files changed, 16 deletions(-) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 814322f..fe2e46b 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -422,12 +422,6 @@ type PersistentVolumeBinderControllerConfiguration struct { PVClaimBinderSyncPeriod metav1.Duration // volumeConfiguration holds configuration for volume related features. VolumeConfiguration VolumeConfiguration - // DEPRECATED: VolumeHostCIDRDenylist is a list of CIDRs that should not be reachable by the - // controller from plugins. - VolumeHostCIDRDenylist []string - // DEPRECATED: VolumeHostAllowLocalLoopback indicates if local loopback hosts (127.0.0.1, etc) - // should be allowed from plugins. - VolumeHostAllowLocalLoopback *bool } // PodGCControllerConfiguration contains elements describing PodGCController. diff --git a/config/v1alpha1/zz_generated.deepcopy.go b/config/v1alpha1/zz_generated.deepcopy.go index 7df1082..0ac9b66 100644 --- a/config/v1alpha1/zz_generated.deepcopy.go +++ b/config/v1alpha1/zz_generated.deepcopy.go @@ -416,16 +416,6 @@ func (in *PersistentVolumeBinderControllerConfiguration) DeepCopyInto(out *Persi *out = *in out.PVClaimBinderSyncPeriod = in.PVClaimBinderSyncPeriod in.VolumeConfiguration.DeepCopyInto(&out.VolumeConfiguration) - if in.VolumeHostCIDRDenylist != nil { - in, out := &in.VolumeHostCIDRDenylist, &out.VolumeHostCIDRDenylist - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.VolumeHostAllowLocalLoopback != nil { - in, out := &in.VolumeHostAllowLocalLoopback, &out.VolumeHostAllowLocalLoopback - *out = new(bool) - **out = **in - } return }