Skip to content

Commit

Permalink
Add VolumeAttributesClass feature flag
Browse files Browse the repository at this point in the history
Signed-off-by: Connor Catlett <[email protected]>
  • Loading branch information
ConnorJC3 committed Oct 26, 2023
1 parent 08033bd commit e9897f5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ const (
//
// Enable usage of Provision of PVCs from snapshots in other namespaces
CrossNamespaceVolumeDataSource featuregate.Feature = "CrossNamespaceVolumeDataSource"

// owner: @sunnylovestiramisu @ConnorJC3
// kep: https://kep.k8s.io/3751
// alpha: v1.29
//
// Pass VolumeAttributesClass parameters to supporting CSI drivers during CreateVolume
VolumeAttributesClass featuregate.Feature = "VolumeAttributesClass"
)

func init() {
Expand All @@ -53,4 +60,5 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
Topology: {Default: false, PreRelease: featuregate.GA},
HonorPVReclaimPolicy: {Default: false, PreRelease: featuregate.Alpha},
CrossNamespaceVolumeDataSource: {Default: false, PreRelease: featuregate.Alpha},
VolumeAttributesClass: {Default: false, PreRelease: featuregate.Alpha},
}

0 comments on commit e9897f5

Please sign in to comment.