Add deprecation comment to PersistentVolumeReclaimRecycle

This commit is contained in:
Ayush Pateria 2018-01-31 00:38:02 +05:30
parent 9e2878d93c
commit 24ab5e9ed0

View File

@ -475,6 +475,7 @@ type PersistentVolumeReclaimPolicy string
const (
// 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.
// This is deprecated.
PersistentVolumeReclaimRecycle PersistentVolumeReclaimPolicy = "Recycle"
// PersistentVolumeReclaimDelete means the volume will be deleted from Kubernetes on release from its claim.
// The volume plugin must support Deletion.