Skip to content

Commit

Permalink
remove Removed generally available feature-gate DisableCloudProviders…
Browse files Browse the repository at this point in the history
… and DisableKubeletCloudCredentialProviders

Signed-off-by: carlory <[email protected]>
  • Loading branch information
carlory committed Feb 17, 2025
1 parent 29e5d42 commit 2382c01
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 52 deletions.
2 changes: 0 additions & 2 deletions cmd/kube-apiserver/app/options/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ func TestAddFlags(t *testing.T) {
"--authorization-webhook-config-file=/webhook-config",
"--bind-address=192.168.10.20",
"--client-ca-file=/client-ca",
"--cloud-config=/cloud-config",
"--cloud-provider=azure",
"--cors-allowed-origins=10.10.10.100,10.10.10.200",
"--contention-profiling=true",
"--egress-selector-config-file=/var/run/kubernetes/egress-selector/connectivity.yaml",
Expand Down
10 changes: 0 additions & 10 deletions pkg/features/kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,6 @@ const (
// both allocators. This feature gate disables the dual write on the new Cluster IP allocators.
DisableAllocatorDualWrite featuregate.Feature = "DisableAllocatorDualWrite"

// owner: @andrewsykim
//
// Disable any functionality in kube-apiserver, kube-controller-manager and kubelet related to the `--cloud-provider` component flag.
DisableCloudProviders featuregate.Feature = "DisableCloudProviders"

// owner: @andrewsykim
//
// Disable in-tree functionality in kubelet to authenticate to cloud provider container registries for image pull credentials.
DisableKubeletCloudCredentialProviders featuregate.Feature = "DisableKubeletCloudCredentialProviders"

// owner: @micahhausler
//
// Setting AllowInsecureKubeletCertificateSigningRequests to true disables node admission validation of CSRs
Expand Down
12 changes: 0 additions & 12 deletions pkg/features/versioned_kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,6 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Beta}, // remove after MultiCIDRServiceAllocator is GA
},

DisableCloudProviders: {
{Version: version.MustParse("1.22"), Default: false, PreRelease: featuregate.Alpha},
{Version: version.MustParse("1.29"), Default: true, PreRelease: featuregate.Beta},
{Version: version.MustParse("1.31"), Default: true, PreRelease: featuregate.GA, LockToDefault: true},
},

DisableKubeletCloudCredentialProviders: {
{Version: version.MustParse("1.23"), Default: false, PreRelease: featuregate.Alpha},
{Version: version.MustParse("1.29"), Default: true, PreRelease: featuregate.Beta},
{Version: version.MustParse("1.31"), Default: true, PreRelease: featuregate.GA, LockToDefault: true},
},

DisableNodeKubeProxyVersion: {
{Version: version.MustParse("1.29"), Default: false, PreRelease: featuregate.Alpha},
{Version: version.MustParse("1.31"), Default: false, PreRelease: featuregate.Deprecated},
Expand Down
28 changes: 0 additions & 28 deletions test/featuregates_linter/test_data/versioned_feature_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -406,40 +406,12 @@
lockToDefault: false
preRelease: Beta
version: "1.33"
- name: DisableCloudProviders
versionedSpecs:
- default: false
lockToDefault: false
preRelease: Alpha
version: "1.22"
- default: true
lockToDefault: false
preRelease: Beta
version: "1.29"
- default: true
lockToDefault: true
preRelease: GA
version: "1.31"
- name: DisableCPUQuotaWithExclusiveCPUs
versionedSpecs:
- default: true
lockToDefault: false
preRelease: Beta
version: "1.33"
- name: DisableKubeletCloudCredentialProviders
versionedSpecs:
- default: false
lockToDefault: false
preRelease: Alpha
version: "1.23"
- default: true
lockToDefault: false
preRelease: Beta
version: "1.29"
- default: true
lockToDefault: true
preRelease: GA
version: "1.31"
- name: DisableNodeKubeProxyVersion
versionedSpecs:
- default: false
Expand Down

0 comments on commit 2382c01

Please sign in to comment.