Add ClaimLost phase.

This commit is contained in:
Jan Safranek
2016-05-17 14:55:10 +02:00
parent 5949b956f5
commit 0be1512f1c
3 changed files with 9 additions and 1 deletions

View File

@@ -411,6 +411,10 @@ const (
ClaimPending PersistentVolumeClaimPhase = "Pending"
// used for PersistentVolumeClaims that are bound
ClaimBound PersistentVolumeClaimPhase = "Bound"
// used for PersistentVolumeClaims that lost their underlying
// PersistentVolume. The claim was bound to a PersistentVolume and this
// volume does not exist any longer and all data on it was lost.
ClaimLost PersistentVolumeClaimPhase = "Lost"
)
// Represents a host path mapped into a pod.