mirror of https://github.com/k3s-io/k3s
Update description for valid reclaim policies
parent
f88ff2ab41
commit
2e80059ac0
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue