kubernetes/pkg/volume
Kubernetes Submit Queue 4ec38dce7e Merge pull request #51115 from jsafrane/exec-storageos
Automatic merge from submit-queue (batch tested with PRs 38947, 50239, 51115, 51094, 51116)

StorageOS: Use VolumeHost.GetExec() to execute stuff in volume plugins

Use VolumeHost.GetExec() to execute stuff in volume plugins

**What this PR does / why we need it**:

This PR updates StorageOS volume plugin to use `VolumeHost.GetExec()` to execute utilities like mkfs and lsblk instead of simple `os/exec`. This prepares the volume plugin to run these utilities in containers instead of running them on the host + makes the volume plugin more independent and less hardcoded.

See proposal in https://github.com/kubernetes/community/pull/589.

Note that this PR does **not** change place where the utilities are executed - `VolumeHost.GetExec()` still leads directly to `os/exec`. It will be changed when the aforementioned proposal is merged and implemented.

@kubernetes/sig-storage-pr-reviews 

**Release note**:
```release-note
NONE
```
2017-08-23 08:41:06 -07:00
..
aws_ebs SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
azure_dd azure: Use VolumeHost.GetExec() to execute stuff in volume plugins 2017-08-22 10:21:44 +02:00
azure_file Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
cephfs Merge pull request #49922 from riverzhang/volume-cephfs 2017-08-22 19:45:32 -07:00
cinder Merge pull request #50239 from FengyunPan/fix-no-exist-node 2017-08-23 08:41:04 -07:00
configmap Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
downwardapi Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
empty_dir Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
fc Merge pull request #38947 from xiangpengzhao/fix-testcase-errorf 2017-08-23 08:41:01 -07:00
flexvolume Merge pull request #50843 from TerraTech/fvs-selinuxRelabel-init-1.8.x 2017-08-23 05:51:28 -07:00
flocker Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
gce_pd Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
git_repo Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
glusterfs Merge pull request #51107 from jsafrane/exec-gluster 2017-08-23 05:51:31 -07:00
host_path Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
iscsi Merge pull request #38947 from xiangpengzhao/fix-testcase-errorf 2017-08-23 08:41:01 -07:00
local Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
nfs Merge pull request #38947 from xiangpengzhao/fix-testcase-errorf 2017-08-23 08:41:01 -07:00
photon_pd SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
portworx SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
projected Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
quobyte Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
rbd Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
scaleio SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
secret Use Fatalf instead of Errorf when mounter/unmounter if nil in volume tests 2017-08-23 10:29:30 +08:00
storageos StorageOS: Use VolumeHost.GetExec() to execute stuff in volume plugins 2017-08-22 15:57:08 +02:00
testing Merge pull request #46458 from jsafrane/mount-prep 2017-08-21 18:11:16 -07:00
util SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
validation Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
vsphere_volume Merge pull request #46458 from jsafrane/mount-prep 2017-08-21 18:11:16 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
doc.go
metrics_cached.go
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_du.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_errors.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil_test.go
metrics_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_statfs.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
plugins_test.go Check volumespec is nil in FindPluginBySpec 2017-07-26 13:45:32 -07:00
plugins.go Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
util_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
util.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
volume_linux.go Remove all references to types.UnixUserID and types.UnixGroupID 2017-06-21 04:09:07 -07:00
volume_unsupported.go Remove all references to types.UnixUserID and types.UnixGroupID 2017-06-21 04:09:07 -07:00
volume.go run hack/update-all 2017-06-22 11:31:03 -07:00