Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote VolumeAttributesClass to Beta #429

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Promote VolumeAttributesClass to Beta
AndrewSirenko committed Aug 10, 2024
commit aeb4c75e41ef281ed9087bf2ffcdd6ff4b14f0d1
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -22,11 +22,11 @@ Various external-resizer releases come with different alpha / beta features.

The following table reflects the head of this branch.

| Feature | Status | Default | Description |
| ---------------------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
| VolumeExpansion | Stable | On | [Support for expanding CSI volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#csi-volume-expansion). |
| ReadWriteOncePod | Stable | On | [Single pod access mode for PersistentVolumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). |
| VolumeAttributesClass | Alpha | Off | [Volume Attributes Classes](https://kubernetes.io/docs/concepts/storage/volume-attributes-classes). |
| Feature | Status | Default | Description |
| ---------------------- |--------| ------- | ----------------------------------------------------------------------------------------------------------------------------- |
| VolumeExpansion | Stable | On | [Support for expanding CSI volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#csi-volume-expansion). |
| ReadWriteOncePod | Stable | On | [Single pod access mode for PersistentVolumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). |
| VolumeAttributesClass | Beta | Off | [Volume Attributes Classes](https://kubernetes.io/docs/concepts/storage/volume-attributes-classes). |

## Usage

3 changes: 2 additions & 1 deletion pkg/features/features.go
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ const (
// owner: @sunnylovestiramisu
// kep: https://kep.k8s.io/3751
// alpha: v1.29
// beta: v1.31
//
// Pass VolumeAttributesClass parameters to supporting CSI drivers during ModifyVolume
VolumeAttributesClass featuregate.Feature = "VolumeAttributesClass"
@@ -47,5 +48,5 @@ func init() {
var defaultResizerFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
AnnotateFsResize: {Default: false, PreRelease: featuregate.Alpha},
RecoverVolumeExpansionFailure: {Default: false, PreRelease: featuregate.Alpha},
VolumeAttributesClass: {Default: false, PreRelease: featuregate.Alpha},
VolumeAttributesClass: {Default: false, PreRelease: featuregate.Beta},
}