k3s/pkg/volume
Kubernetes Submit Queue 2c1c33d416 Merge pull request #48898 from portworx/fix-px-volume-calls
Automatic merge from submit-queue (batch tested with PRs 48997, 48595, 48898, 48711, 48972)

Use local PX endpoint for mount, unmount, detach and attach calls

**What this PR does / why we need it**:
This PR fixes an issue with Setup and TearDown of Portworx volumes which has side-effects such a Pod using a Portworx volume not being able to start on the minion.

**Which issue this PR fixes**: fixes #49034 
This PR addresses an issue that fails to mount, attach, unmount or detach a volume when Kubernetes sends these requests to Portworx when it's API server on that particular minion is down. 

Portworx mount, unmount, attach and detach requests need to be received on the minion where the pod is running. So these calls need to talk to the Portworx API server running locally on that node (and NOT to the Portworx k8s service since it may route the request to any node in the cluster). This PR explicitly makes such requests local only.

**Release note**:
```release-note
NONE
```
2017-07-17 13:23:52 -07:00
..
aws_ebs run hack/update-all 2017-06-22 11:31:03 -07:00
azure_dd Merge pull request #48886 from mikedanese/cleanup 2017-07-14 11:46:10 -07:00
azure_file Merge pull request #48326 from karataliu/afd.dev 2017-07-14 19:50:14 -07:00
cephfs remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
cinder remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
configmap Merge pull request #47417 from xilabao/print-non-existent-key 2017-07-16 16:33:01 -07:00
downwardapi remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
empty_dir Merge pull request #48949 from php-coder/minor_cleanup 2017-07-15 16:04:21 -07:00
fc remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
flexvolume Merge pull request #46973 from php-coder/improve_flex_logging 2017-07-15 18:02:36 -07:00
flocker remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
gce_pd remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
git_repo remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
glusterfs remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
host_path remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
iscsi remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
local Fixes bind-mount teardown failure with non-mount point Local volumes 2017-07-11 17:19:58 -04:00
nfs remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
photon_pd run hack/update-all 2017-06-22 11:31:03 -07:00
portworx Add more detailed comment for localOnly flag in getPortworxDriver function 2017-07-14 13:20:16 -07:00
projected run hack/update-all 2017-06-22 11:31:03 -07:00
quobyte remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
rbd remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
scaleio run hack/update-all 2017-06-22 11:31:03 -07:00
secret remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
storageos run hack/update-all 2017-06-22 11:31:03 -07:00
testing remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
util Merge pull request #48672 from dixudx/resolve_hard_coded_path_sep_atomic 2017-07-12 09:02:51 -07:00
validation do not allow backsteps in host volume plugin 2017-06-16 16:48:24 -04:00
vsphere_volume remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
BUILD run hack/update-all 2017-06-22 11:31:03 -07:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
doc.go
metrics_cached.go
metrics_du.go
metrics_du_test.go Update metrics_du_test.go 2017-05-31 17:21:46 +05:30
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go
metrics_statfs_test.go
plugins.go Merge pull request #46973 from php-coder/improve_flex_logging 2017-07-15 18:02:36 -07:00
plugins_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
util.go Add err judgment 2017-06-26 19:04:10 +08:00
util_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
volume.go run hack/update-all 2017-06-22 11:31:03 -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