Skip to content

Commit d1a05c4

Browse files
authored
Merge pull request #1328 from carlory/promote-HonorPVReclaimPolicy-GA
promote HonorPVReclaimPolicy to GA
2 parents 6f71368 + ccd0ef8 commit d1a05c4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Following table reflects the head of this branch.
2727
| CSIStorageCapacity | GA | On | Publish [capacity information](https://kubernetes.io/docs/concepts/storage/volumes/#storage-capacity) for the Kubernetes scheduler. | No |
2828
| ReadWriteOncePod | Beta | On | [Single pod access mode for PersistentVolumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). | No |
2929
| CSINodeExpandSecret | GA | On | [CSI Node expansion secret](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/3107-csi-nodeexpandsecret) | No |
30-
| HonorPVReclaimPolicy| Beta | On | [Honor the PV reclaim policy](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2644-honor-pv-reclaim-policy) | No |
30+
| HonorPVReclaimPolicy| GA | On | [Honor the PV reclaim policy](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2644-honor-pv-reclaim-policy) | No |
3131
| PreventVolumeModeConversion | Beta |On | [Prevent unauthorized conversion of source volume mode](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/3141-prevent-volume-mode-conversion) | `--prevent-volume-mode-conversion` (No in-tree feature gate) |
3232
| VolumeAttributesClass | Beta | Off | [Pass VolumeAttributesClass parameters during CreateVolume](https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/3751-volume-attributes-class/README.md) | `--feature-gates=VolumeAttributesClass=true` |
3333
| CrossNamespaceVolumeDataSource | Alpha |Off | [Cross-namespace volume data source](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/3294-provision-volumes-from-cross-namespace-snapshots) | `--feature-gates=CrossNamespaceVolumeDataSource=true` |

pkg/features/features.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const (
3131
// kep: http://kep.k8s.io/2680
3232
// alpha: v1.23
3333
// beta: v1.31
34+
// GA: v1.33
3435
//
3536
// Honor Persistent Volume Reclaim Policy when it is "Delete" irrespective of PV-PVC
3637
// deletion ordering.
@@ -60,7 +61,7 @@ func init() {
6061
// To add a new feature, define a key for it above and add it here.
6162
var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
6263
Topology: {Default: true, PreRelease: featuregate.GA},
63-
HonorPVReclaimPolicy: {Default: true, PreRelease: featuregate.Beta},
64+
HonorPVReclaimPolicy: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
6465
CrossNamespaceVolumeDataSource: {Default: false, PreRelease: featuregate.Alpha},
6566
VolumeAttributesClass: {Default: false, PreRelease: featuregate.Beta},
6667
}

0 commit comments

Comments
 (0)