k3s/pkg
Kubernetes Submit Queue 01c74145c7
Merge pull request #55665 from brendandburns/path
Automatic merge from submit-queue (batch tested with PRs 55908, 55829, 55293, 55653, 55665). 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>.

If mountPath is missing, prefix with root dir.

If `mountPath` is not absolute, add the os-specific root directory as a prefix.

Ref: https://github.com/kubernetes/kubernetes/pull/51240
https://groups.google.com/forum/#!topic/kubernetes-sig-storage/k_0Wr2kYkpU

@thockin @saad-ali @andyzhangx 

Note to @thockin I left the validation in place, in seems like it is a net win, since it will give a decent
error message to most people, but the fall-back defaulting is there if it doesn't catch 'c:'

I'm happy to rip out the validation if that is preferable to everyone.  Let me know.

```release-note
If a non-absolute mountPath is passed to the kubelet, prefix it with the appropriate root path.
```
2017-11-17 17:11:16 -08:00
..
api remove bad defaulting for exec and attach options 2017-11-14 12:02:49 -05:00
apimachinery/tests
apis Merge pull request #55665 from brendandburns/path 2017-11-17 17:11:16 -08:00
auth move authorizers over to new interface 2017-11-03 13:46:28 -07:00
bootstrap/api
capabilities
client Generated files for new VolumeAttachemnt object 2017-11-14 17:08:49 -08:00
cloudprovider Merge pull request #54507 from micahhausler/aws-elb-security-policy 2017-11-17 01:17:11 -08:00
controller Merge pull request #55653 from hzxuzhonghu/test-flaky 2017-11-17 17:11:13 -08:00
credentialprovider fix awsStandardDNSSuffix 2017-11-15 16:39:48 +08:00
features Merge pull request #54647 from colemickens/crd-validation-beta 2017-11-16 07:19:02 -08:00
fieldpath
generated Merge pull request #47584 from zjj2wry/translate 2017-11-15 23:57:28 -08:00
hyperkube
kubeapiserver Reorganize the admission webhook code. 2017-11-14 15:59:53 -08:00
kubectl Merge pull request #54053 from WanLinghao/cmd_test_unused_function 2017-11-17 08:28:26 -08:00
kubelet Merge pull request #55665 from brendandburns/path 2017-11-17 17:11:16 -08:00
kubemark Move ungated 'alpha' KubeletConfiguration fields and self-registration fields to KubeletFlags 2017-11-15 17:47:10 -08:00
master remove duplicated import 2017-11-14 17:18:17 +08:00
printers StorageClass API changes for VolumeBindingMode 2017-11-15 09:19:47 -08:00
probe
proxy Merge pull request #53780 from m1093782566/validate-ipvs 2017-11-15 09:30:24 -08:00
quota Update generated files 2017-11-09 12:14:08 +01:00
registry registry: move generic registry tester into k8s.io/apiserver 2017-11-16 09:03:42 +01:00
routes
security Enforce use of fixed size int types in the API 2017-11-13 11:28:59 -08:00
securitycontext Update generated files 2017-11-09 12:14:08 +01:00
serviceaccount Update generated files 2017-11-09 12:14:08 +01:00
ssh
util Clone documentation utility from //pkg/kubectl/cmd/templates 2017-11-16 10:18:00 +01:00
version Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
volume Merge pull request #54674 from andyzhangx/azurefile-mountoptions 2017-11-17 13:34:14 -08:00
watch
.import-restrictions
BUILD Update generated files for MutatingWebhookConfiguration 2017-11-09 15:33:50 -08:00
OWNERS