mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #105474 from mauriciopoppe/readd-volume-subpath-flag
Add VolumeSubpath feature gate back in preparation for its removal
This commit is contained in:
commit
a8bda48abe
@ -138,6 +138,14 @@ const (
|
|||||||
// Postpone deletion of a PV or a PVC when they are being used
|
// Postpone deletion of a PV or a PVC when they are being used
|
||||||
StorageObjectInUseProtection featuregate.Feature = "StorageObjectInUseProtection"
|
StorageObjectInUseProtection featuregate.Feature = "StorageObjectInUseProtection"
|
||||||
|
|
||||||
|
// owner: @saad-ali
|
||||||
|
// ga: v1.10
|
||||||
|
//
|
||||||
|
// Allow mounting a subpath of a volume in a container
|
||||||
|
// NOTE: This feature gate has been deprecated and is no longer enforced.
|
||||||
|
// It will be completely removed in 1.25. Until then, it's still visible in `kubelet --help`
|
||||||
|
VolumeSubpath featuregate.Feature = "VolumeSubpath"
|
||||||
|
|
||||||
// owner: @pohly
|
// owner: @pohly
|
||||||
// alpha: v1.14
|
// alpha: v1.14
|
||||||
// beta: v1.16
|
// beta: v1.16
|
||||||
@ -804,6 +812,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
CSIServiceAccountToken: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
CSIServiceAccountToken: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
||||||
GenericEphemeralVolume: {Default: true, PreRelease: featuregate.Beta},
|
GenericEphemeralVolume: {Default: true, PreRelease: featuregate.Beta},
|
||||||
CSIVolumeFSGroupPolicy: {Default: true, PreRelease: featuregate.Beta},
|
CSIVolumeFSGroupPolicy: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
VolumeSubpath: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.25
|
||||||
RuntimeClass: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
RuntimeClass: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
||||||
NetworkPolicyEndPort: {Default: true, PreRelease: featuregate.Beta},
|
NetworkPolicyEndPort: {Default: true, PreRelease: featuregate.Beta},
|
||||||
ProcMountType: {Default: false, PreRelease: featuregate.Alpha},
|
ProcMountType: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
Loading…
Reference in New Issue
Block a user