mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
This commit is contained in:
@@ -59,9 +59,12 @@ func validNewPersistentVolume(name string) *api.PersistentVolume {
|
||||
PersistentVolumeSource: api.PersistentVolumeSource{
|
||||
HostPath: &api.HostPathVolumeSource{Path: "/foo"},
|
||||
},
|
||||
PersistentVolumeReclaimPolicy: api.PersistentVolumeReclaimRetain,
|
||||
},
|
||||
Status: api.PersistentVolumeStatus{
|
||||
Phase: api.VolumePending,
|
||||
Phase: api.VolumePending,
|
||||
Message: "bar",
|
||||
Reason: "foo",
|
||||
},
|
||||
}
|
||||
return pv
|
||||
|
Reference in New Issue
Block a user