k3s/pkg/api
Kubernetes Submit Queue 87cefa0850 Merge pull request #51240 from andyzhangx/windows-abs-path
Automatic merge from submit-queue. 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>.

allow windows mount path

**What this PR does / why we need it**:
Currently mount path onlly allow Linux absolute path,  allow windows mount path in this PR.
This code snippet in kubelet will run in both Linux and Windows, so use IsAbs func to tell whether it's a absolute path is not sufficient as for k8s windows cluster, the master is Linux and agent is Windows node.

**Special notes for your reviewer**:
The example pod with mount path is like below:
```
---
kind: Pod
apiVersion: v1
metadata:
  name: pod-uses-shared-hdd-5g
  labels:
    name: storage
spec:
  containers:
  - image: microsoft/iis
    name: az-c-01
    volumeMounts:
    - name: blobdisk01
      mountPath: 'F:'
  nodeSelector:
    beta.kubernetes.io/os: windows
  volumes:
  - name: blobdisk01
    persistentVolumeClaim:
      claimName: pv-dd-shared-hdd-5
```


**Release note**:

```release-note
```
2017-10-26 18:39:49 -07:00
..
endpoints update BUILD files 2017-10-15 18:18:13 -07:00
events update BUILD files 2017-10-15 18:18:13 -07:00
fuzzer ScaleIO - API source code update 2017-10-25 16:05:48 -04:00
helper update BUILD files 2017-10-15 18:18:13 -07:00
install Update bazel 2017-10-18 17:24:04 +02:00
legacyscheme Update bazel 2017-10-18 17:24:04 +02:00
persistentvolume ScaleIO - API source code update 2017-10-25 16:05:48 -04:00
pod update BUILD files 2017-10-15 18:18:13 -07:00
ref Update bazel 2017-10-18 17:24:04 +02:00
resource update BUILD files 2017-10-15 18:18:13 -07:00
service update BUILD files 2017-10-15 18:18:13 -07:00
testapi Remove all traces of federation 2017-10-26 13:37:37 -07:00
testing Fuzz label selectors 2017-10-19 11:01:45 -04:00
unversioned update BUILD files 2017-10-15 18:18:13 -07:00
v1 Merge pull request #54013 from vladimirvivien/scaleio-secret-multi-tenancy 2017-10-26 13:24:34 -07:00
validation Merge pull request #51240 from andyzhangx/windows-abs-path 2017-10-26 18:39:49 -07:00
BUILD Update bazel 2017-10-18 17:24:04 +02:00
OWNERS Create api-{approvers,reviewers} alias 2017-10-18 10:54:28 -07:00
annotation_key_constants.go mark created-by annotation as deprecated 2017-08-15 17:08:07 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
field_constants.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
json.go Change taint/toleration annotations to api fields. 2017-02-22 09:27:42 -05:00
objectreference.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
register.go Move global scheme to pkg/api/legacyscheme 2017-10-18 13:26:56 +02:00
resource.go Remove previous local storage resource name 'scratch" and "overlay" 2017-08-27 12:03:31 +08:00
taint.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
taint_test.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
toleration.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
types.go ScaleIO - API source code update 2017-10-25 16:05:48 -04:00
zz_generated.deepcopy.go ScaleIO - Generated files 2017-10-25 16:05:57 -04:00