k3s/pkg
Kubernetes Submit Queue e99ec24595
Merge pull request #60440 from andrewsykim/andrewsykim/fix-char-device-mount-bug
Automatic merge from submit-queue (batch tested with PRs 60433, 59982, 59128, 60243, 60440). 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>.

kubelet: fix bug where character device is not recognized

**What this PR does / why we need it**:
Fixes a bug where character devices are not recognized by the kubelet because we return `FileTypeBlockDev` instead of `FileTypeCharDev`.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Related issue: https://github.com/kubernetes/kubernetes/issues/5607

**Special notes for your reviewer**:
Kubelet event for bug: https://github.com/kubernetes/kubernetes/issues/5607#issuecomment-366366340
```
Warning		FailedMount		MountVolume.SetUp failed for volume "dev-fuse" : hostPath type check failed: /dev/fuse is not a character device
```

Commit where bug was introduced: 57ead4898b 
**Release note**:
```release-note
Fixes a bug where character devices are not recongized by the kubelet
```
2018-02-27 08:25:51 -08:00
..
api k8s csi code change 2018-02-23 16:50:43 -05:00
apis Validate path in external metric name 2018-02-27 14:37:20 +01:00
auth Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
capabilities Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Run hack/update-all.sh 2018-02-26 17:16:14 -08:00
cloudprovider update import 2018-02-27 20:23:35 +08:00
controller Merge pull request #60243 from MaciekPytel/hpa_api_ext_imp 2018-02-27 08:25:47 -08:00
credentialprovider Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
features Merge pull request #59771 from MrHohn/custom-pod-dns-e2e 2018-02-24 20:01:44 -08:00
fieldpath Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
generated Merge pull request #59958 from ixdy/bzl-boilerplate 2018-02-26 21:34:45 -08:00
kubeapiserver Merge pull request #60367 from NickrenREN/admission-sc-dir-change 2018-02-26 23:47:59 -08:00
kubectl Merge pull request #59674 from jennybuckley/codegen 2018-02-27 02:47:05 -08:00
kubelet update bazel 2018-02-27 20:23:36 +08:00
kubemark expunge the word 'manifest' from Kubelet's config API 2018-02-23 11:44:06 -08:00
master Merge pull request #51249 from tengqm/service-ip-cidr 2018-02-24 18:43:39 -08:00
printers Differentiate between target and target average value 2018-02-26 18:46:43 +01:00
probe Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
proxy Run hack/update-all.sh 2018-02-26 17:16:14 -08:00
quota Merge pull request #57302 from lichuqiang/resourceQuota4extendedResource 2018-02-20 14:10:46 -08:00
registry Run hack/update-all.sh 2018-02-26 17:16:14 -08:00
routes Remove /ui/ redirect 2018-02-12 10:54:33 -05:00
scheduler Run hack/update-all.sh 2018-02-26 17:16:14 -08:00
security Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
securitycontext Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
serviceaccount add support for /token subresource in serviceaccount registry 2018-02-21 13:16:51 -08:00
ssh Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util fix bug where character devices are not recognized 2018-02-26 17:18:05 -05:00
version Require boilerplate on Bazel Skylark source files 2018-02-16 13:44:04 -08:00
volume update bazel 2018-02-27 20:23:36 +08:00
watch/json
.import-restrictions
BUILD Remove pkg/client/unversioned 2018-02-21 13:08:11 +01:00
OWNERS