mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Add feature gate for VolumeSnapshotDataSource
This commit is contained in:
parent
e4c82b3d7b
commit
2a442db800
@ -363,6 +363,12 @@ const (
|
|||||||
//
|
//
|
||||||
// Enables SCTP as new protocol for Service ports, NetworkPolicy, and ContainerPort in Pod/Containers definition
|
// Enables SCTP as new protocol for Service ports, NetworkPolicy, and ContainerPort in Pod/Containers definition
|
||||||
SCTPSupport utilfeature.Feature = "SCTPSupport"
|
SCTPSupport utilfeature.Feature = "SCTPSupport"
|
||||||
|
|
||||||
|
// owner: @xing-yang
|
||||||
|
// alpha: v1.12
|
||||||
|
//
|
||||||
|
// Enable volume snapshot data source support.
|
||||||
|
VolumeSnapshotDataSource utilfeature.Feature = "VolumeSnapshotDataSource"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -424,6 +430,7 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS
|
|||||||
RuntimeClass: {Default: false, PreRelease: utilfeature.Alpha},
|
RuntimeClass: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
NodeLease: {Default: false, PreRelease: utilfeature.Alpha},
|
NodeLease: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
SCTPSupport: {Default: false, PreRelease: utilfeature.Alpha},
|
SCTPSupport: {Default: false, PreRelease: utilfeature.Alpha},
|
||||||
|
VolumeSnapshotDataSource: {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