Merge pull request #25502 from swagiaal/attach-interface-pvc

Automatic merge from submit-queue

Add support for PersistentVolumeClaim in Attacher/Detacher interface

The attach detach interface does not support volumes which are referenced through PVCs. This PR adds that support
This commit is contained in:
k8s-merge-robot
2016-05-21 06:25:34 -07:00
9 changed files with 235 additions and 508 deletions

View File

@@ -140,7 +140,7 @@ type Attacher interface {
// GetDeviceMountPath returns a path where the device should
// be mounted after it is attached. This is a global mount
// point which should be bind mounted for individual volumes.
GetDeviceMountPath(host VolumeHost, spec *Spec) string
GetDeviceMountPath(spec *Spec) string
// MountDevice mounts the disk to a global path which
// individual pods can then bind mount