Commit 2e80059a authored by Michelle Au's avatar Michelle Au

Update description for valid reclaim policies

parent f88ff2ab
...@@ -511,8 +511,9 @@ type PersistentVolumeSpec struct { ...@@ -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"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment