kubernetes/pkg/volume
Kubernetes Submit Queue afa68cc287
Merge pull request #62886 from msau42/fix-localssd-fsgroup
Automatic merge from submit-queue (batch tested with PRs 62780, 62886). 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>.

Only count local mounts that are from other pods

**What this PR does / why we need it**:
In GCE, we mount the same local SSD in two different paths (for backwards compatability).  This makes the fsGroup conflict check fail because it thinks the 2nd mount is from another pod.  For the fsgroup check, we only want to detect if other pods are mounting the same volume, so this PR filters the mount list to only those mounts under "/var/lib/kubelet".

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #62867

**Release note**:

```release-note
NONE
```
2018-04-20 20:06:13 -07:00
..
aws_ebs update bazel 2018-02-27 20:23:36 +08:00
azure_dd fix devicePath update issue in Azure WaitForAttach func 2018-04-16 05:52:16 +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 Merge pull request #62668 from zetaab/cindermetrics 2018-04-19 09:53:09 -07:00
configmap Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
csi fix csi data race in csi_attacher_test.go 2018-04-19 10:44:11 +08:00
downwardapi Use filepath.Clean() instead of path.Clean() 2018-04-17 10:44:30 +08: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 Revert "git: Use VolumeHost.GetExec() to execute stuff in volume plugins" 2018-04-11 14:44:20 +02:00
glusterfs Add volumenameprefix tests for glusterfs dynamic provisioner. 2018-04-18 19:10:10 +05:30
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 Only count mounts that are from other pods 2018-04-19 15:40:51 -07: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 Add support to resize Portworx volume 2018-04-19 12:14:43 -07:00
projected Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
quobyte Use filepath.Clean() instead of path.Clean() 2018-04-17 10:44:30 +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 Only count mounts that are from other pods 2018-04-19 15:40:51 -07:00
util Use filepath.Clean() instead of path.Clean() 2018-04-17 10:44:30 +08: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 Report events to apiserver in local volume plugin. 2018-04-18 11:19:36 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics_cached.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
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 Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_statfs.go update import 2018-02-27 20:23:35 +08:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
plugins.go Only count mounts that are from other pods 2018-04-19 15:40:51 -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