Update description for valid reclaim policies

pull/6/head
Michelle Au 2018-02-22 11:56:23 -08:00
parent f88ff2ab41
commit 2e80059ac0
1 changed files with 3 additions and 2 deletions

View File

@ -511,8 +511,9 @@ type PersistentVolumeSpec struct {
// +optional // +optional
ClaimRef *ObjectReference `json:"claimRef,omitempty" protobuf:"bytes,4,opt,name=claimRef"` ClaimRef *ObjectReference `json:"claimRef,omitempty" protobuf:"bytes,4,opt,name=claimRef"`
// What happens to a persistent volume when released from its claim. // What happens to a persistent volume when released from its claim.
// Valid options are Retain (default) and Recycle. // Valid options are Retain (default for manually created PersistentVolumes), Delete (default
// Recycling must be supported by the volume plugin underlying this persistent volume. // for dynamically provisioned PersistentVolumes), and Recycle (deprecated).
// Recycle must be supported by the volume plugin underlying this PersistentVolume.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
// +optional // +optional
PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty" protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,casttype=PersistentVolumeReclaimPolicy"` PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty" protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,casttype=PersistentVolumeReclaimPolicy"`