Skip to content

Commit 9e5a29b

Browse files
authored
Merge pull request #1209 from carlory/fix-rbac-for-honor-reclaim-policy
promote HonorReclaimPolicy to beta
2 parents 4fc1374 + 3feaec6 commit 9e5a29b

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 | Beta | On | [CSI Node expansion secret](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/3107-csi-nodeexpandsecret) | No |
30-
| HonorPVReclaimPolicy| Alpha |Off | [Honor the PV reclaim policy](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2644-honor-pv-reclaim-policy) | 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 |
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
| 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` |
3333

pkg/features/features.go

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

0 commit comments

Comments
 (0)