Skip to content

Commit 32c0af4

Browse files
committed
Remove last pieces of mount propagation gate
1 parent 3678704 commit 32c0af4

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

pkg/features/kube_features.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,6 @@ const (
134134
// 'MemoryPressure', 'PIDPressure' and 'DiskPressure'.
135135
TaintNodesByCondition utilfeature.Feature = "TaintNodesByCondition"
136136

137-
// owner: @jsafrane
138-
// GA: v1.12
139-
//
140-
// Note: This feature gate is unconditionally enabled in v1.13 and will be removed in v1.14.
141-
// Enable mount propagation of volumes.
142-
MountPropagation utilfeature.Feature = "MountPropagation"
143-
144137
// owner: @sjenning
145138
// alpha: v1.11
146139
//
@@ -443,7 +436,6 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS
443436
PodShareProcessNamespace: {Default: true, PreRelease: utilfeature.Beta},
444437
PodPriority: {Default: true, PreRelease: utilfeature.GA},
445438
TaintNodesByCondition: {Default: true, PreRelease: utilfeature.Beta},
446-
MountPropagation: {Default: true, PreRelease: utilfeature.GA, LockToDefault: true}, // remove in 1.14
447439
QOSReserved: {Default: false, PreRelease: utilfeature.Alpha},
448440
ExpandPersistentVolumes: {Default: true, PreRelease: utilfeature.Beta},
449441
ExpandInUsePersistentVolumes: {Default: false, PreRelease: utilfeature.Alpha},

pkg/kubelet/kubelet.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -779,10 +779,6 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
779779

780780
tokenManager := token.NewManager(kubeDeps.KubeClient)
781781

782-
if !utilfeature.DefaultFeatureGate.Enabled(features.MountPropagation) {
783-
return nil, fmt.Errorf("mount propagation feature gate has been deprecated and will be removed in 1.14")
784-
}
785-
786782
klet.volumePluginMgr, err =
787783
NewInitializedVolumePluginMgr(klet, secretManager, configMapManager, tokenManager, kubeDeps.VolumePlugins, kubeDeps.DynamicPluginProber)
788784
if err != nil {

0 commit comments

Comments
 (0)