Merge pull request #9024 from markturansky/recyc_controllers

PersistentVolumeRecycler controller
This commit is contained in:
Quinton Hoole
2015-06-05 11:39:08 -07:00
37 changed files with 1281 additions and 22 deletions

View File

@@ -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