mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Added PVC Finalizing Controller feature switch.
This commit is contained in:
parent
ba09291ba7
commit
a258269cf8
@ -200,6 +200,12 @@ const (
|
|||||||
//
|
//
|
||||||
// Enable Block volume support in containers.
|
// Enable Block volume support in containers.
|
||||||
BlockVolume utilfeature.Feature = "BlockVolume"
|
BlockVolume utilfeature.Feature = "BlockVolume"
|
||||||
|
|
||||||
|
// owner: @pospispa
|
||||||
|
//
|
||||||
|
// alpha: v1.9
|
||||||
|
// Postpone deletion of a persistent volume claim in case it is used by a pod
|
||||||
|
PVCProtection utilfeature.Feature = "PVCProtection"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -237,6 +243,7 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS
|
|||||||
CSIPersistentVolume: {Default: false, PreRelease: utilfeature.Alpha},
|
CSIPersistentVolume: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
CustomPodDNS: {Default: false, PreRelease: utilfeature.Alpha},
|
CustomPodDNS: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
BlockVolume: {Default: false, PreRelease: utilfeature.Alpha},
|
BlockVolume: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
|
PVCProtection: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
|
|
||||||
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
||||||
// unintentionally on either side:
|
// unintentionally on either side:
|
||||||
|
Loading…
Reference in New Issue
Block a user