mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Add deprecation comment to PersistentVolumeReclaimRecycle
This commit is contained in:
parent
9e2878d93c
commit
24ab5e9ed0
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user