k3s/pkg/volume
Kubernetes Submit Queue 2f394a4168
Merge pull request #61914 from ianchakeres/mount-unsupported-err
Automatic merge from submit-queue (batch tested with PRs 62324, 61459, 62475, 62476, 61914). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Return error in mount_unsupported for unsupported platforms

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

Presently, `util/mount_unsupported.go` does not return any errors. For unsupported platforms, this hides failures. This PR returns errors, thereby properly informing users attempting to run on an unsupported platform.

**Which issue(s) this PR fixes** :
Fixes https://github.com/kubernetes/kubernetes/issues/61919

**Special notes for your reviewer**:

There are a few methods that simply call through to other methods. I did not return errors from those methods.

I've also updated an error check and message in `volume/fc/fc_test.go`, since it was ignoring an error on unsupported platforms.

**Release note**:
```release-note
NONE
```
2018-04-12 13:18:18 -07:00
..
aws_ebs update bazel 2018-02-27 20:23:36 +08:00
azure_dd remove default fsypte in azure disk 2018-04-08 08:11:37 +00:00
azure_file add remount logic for azure file plugin 2018-03-01 07:46:07 +00:00
cephfs update import 2018-02-27 20:23:35 +08:00
cinder update bazel 2018-02-27 20:23:36 +08:00
configmap Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
csi Merge pull request #61147 from mlmhl/csi 2018-04-10 05:31:13 -07:00
downwardapi Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
empty_dir Use consts defined in api instead of defining another ones. 2018-02-28 00:40:58 +08:00
fc Return error in mount_unsupported for unsupported platforms 2018-03-29 14:17:07 -07:00
flexvolume Merge pull request #58519 from linyouchong/lyc-probe 2018-04-02 17:07:01 -07:00
flocker update bazel 2018-02-27 20:23:36 +08:00
gce_pd Merge pull request #60337 from verult/repd-feature-gate 2018-02-27 12:05:33 -08:00
git_repo update import 2018-02-27 20:23:35 +08:00
glusterfs Merge pull request #59536 from linyouchong/lyc-20180208 2018-03-21 03:43:11 -07:00
host_path Lock subPath volumes 2018-03-05 09:14:44 +01:00
iscsi Add volumemetrics for ISCSI Plugin. 2018-03-15 13:40:50 +05:30
local remove IsAbs validation on local volume 2018-04-06 13:26:14 +00:00
nfs pkg/volume/nfs/nfs.go: correct error messages. 2018-03-05 12:12:51 +01:00
photon_pd update bazel 2018-02-27 20:23:36 +08:00
portworx update bazel 2018-02-27 20:23:36 +08:00
projected Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
quobyte update bazel 2018-02-27 20:23:36 +08:00
rbd fix typo that redefines variable and breaks code 2018-04-05 13:49:02 +00:00
scaleio Merge pull request #59035 from YuxiJin-tobeyjin/fix-format-error-for-sioUtil-ut 2018-04-09 06:56:05 -07:00
secret Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
storageos Merge pull request #54970 from jianglingxia/jlx-storageos 2018-03-19 23:42:15 -07:00
testing Add volume spec to mountedPod in actual state of world 2018-03-30 12:07:52 -07:00
util Merge pull request #61549 from jingxu97/Mar/aswVolumeSpec 2018-04-10 17:43:38 -07:00
validation Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
vsphere_volume update bazel 2018-02-27 20:23:36 +08:00
BUILD update bazel 2018-02-27 20:23:36 +08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
doc.go
metrics_cached.go
metrics_du.go update import 2018-02-27 20:23:35 +08:00
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go update import 2018-02-27 20:23:35 +08:00
metrics_statfs_test.go
plugins.go Merge pull request #58519 from linyouchong/lyc-probe 2018-04-02 17:07:01 -07:00
plugins_test.go correct the expected value in plugintest 2018-02-25 15:14:55 +08:00
volume.go BlockVolumesSupport: CRI, VolumeManager and OperationExecutor changes 2017-11-20 14:10:26 -05:00
volume_linux.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00
volume_unsupported.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00