k3s/pkg/controller
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
..
bootstrap Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
certificates sarapprover: remove self node cert 2018-04-13 11:23:51 -07:00
cloud boring 2018-04-18 09:55:57 -07:00
clusterroleaggregation Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cronjob Merge pull request #62011 from hanxiaoshuai/fixtodo0402 2018-04-05 18:47:07 -07:00
daemon Moved sync pod on Node logic to func. 2018-04-12 09:31:31 +08:00
deployment Fix a bug in Deployment controller when comparing templates 2018-04-04 17:14:07 -07:00
disruption Use typed events client directly 2018-04-01 18:57:29 +10:00
endpoint Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
garbagecollector Merge pull request #59172 from fisherxu/removeyear 2018-03-21 12:44:37 -07:00
history Merge pull request #59365 from ayushpateria/patch-sts 2018-02-27 10:21:00 -08:00
job Merge pull request #58972 from soltysh/issue54870 2018-04-19 16:47:18 -07:00
namespace Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
nodeipam Use typed events client directly 2018-04-01 18:57:29 +10:00
nodelifecycle boring 2018-04-18 09:55:57 -07:00
podautoscaler Use typed events client directly 2018-04-01 18:57:29 +10:00
podgc Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
replicaset Use typed events client directly 2018-04-01 18:57:29 +10:00
replication Use typed events client directly 2018-04-01 18:57:29 +10:00
resourcequota Merge pull request #57302 from lichuqiang/resourceQuota4extendedResource 2018-02-20 14:10:46 -08:00
route Merge pull request #61315 from hzxuzhonghu/route-controller 2018-04-09 04:31:14 -07:00
service Use typed events client directly 2018-04-01 18:57:29 +10:00
serviceaccount Update gofmt for go1.10 2018-04-02 17:44:04 -07:00
statefulset Use typed events client directly 2018-04-01 18:57:29 +10:00
testutil boring 2018-04-18 09:55:57 -07:00
ttl Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util/node Cleanup the use of ExternalID as it is deprecated 2018-04-02 10:15:32 -07:00
volume Merge pull request #62886 from msau42/fix-localssd-fsgroup 2018-04-20 20:06:13 -07:00
.import-restrictions
BUILD generated code 2018-02-23 08:06:42 -08:00
OWNERS
client_builder.go
controller_ref_manager.go Update the DaemonSet controller to use the apps/v1 API 2018-02-22 11:38:54 -08:00
controller_ref_manager_test.go
controller_utils.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
controller_utils_test.go
doc.go
lookup_cache.go