mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-12 21:40:29 +00:00
Add deprecation comment to PersistentVolumeReclaimRecycle
This commit is contained in:
@@ -475,6 +475,7 @@ type PersistentVolumeReclaimPolicy string
|
|||||||
const (
|
const (
|
||||||
// PersistentVolumeReclaimRecycle means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim.
|
// PersistentVolumeReclaimRecycle means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim.
|
||||||
// The volume plugin must support Recycling.
|
// The volume plugin must support Recycling.
|
||||||
|
// This is deprecated.
|
||||||
PersistentVolumeReclaimRecycle PersistentVolumeReclaimPolicy = "Recycle"
|
PersistentVolumeReclaimRecycle PersistentVolumeReclaimPolicy = "Recycle"
|
||||||
// PersistentVolumeReclaimDelete means the volume will be deleted from Kubernetes on release from its claim.
|
// PersistentVolumeReclaimDelete means the volume will be deleted from Kubernetes on release from its claim.
|
||||||
// The volume plugin must support Deletion.
|
// The volume plugin must support Deletion.
|
||||||
|
|||||||
Reference in New Issue
Block a user