Add support for PersistentVolumeClaim in Attacher/Detacher interface

- Dereference PVCs in kubelet.
- Add getPersistentVolumebySpec to kubelet.
- Call getPersistentVolumebySpec from mount External volumes
- Add applyPVAnnotations to kubelet.
- Delete persistent_claim plugin.
This commit is contained in:
Sami Wagiaalla
2016-05-10 15:36:38 -04:00
parent 08440b5dcc
commit 56ccd98db8
9 changed files with 235 additions and 508 deletions

View File

@@ -273,7 +273,7 @@ func (fv *FakeVolume) WaitForAttach(spec *Spec, spectimeout time.Duration) (stri
return "", nil
}
func (fv *FakeVolume) GetDeviceMountPath(host VolumeHost, spec *Spec) string {
func (fv *FakeVolume) GetDeviceMountPath(spec *Spec) string {
fv.GetDeviceMountPathCallCount++
return ""
}