• Kubernetes Submit Queue's avatar
    Merge pull request #56921 from andyzhangx/flexvolume-windows · ea55d70e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 56650, 55813, 56911, 56921, 56871). 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>.
    
    enable flexvolume on Windows node
    
    **What this PR does / why we need it**:
    enable flexvolume on Windows node:
    current PodVolumeDir is like 
    `\var\lib\kubelet\pods\f54c5a74-da63-11e7-b71a-000d3a02c330\volumes\test~hostpath.cmd\flextest`
    which is a unix path, with this PR, PodVolumeDir in **windows** kubelet  will be converted into like
    `c:\var\lib\kubelet\pods\f54c5a74-da63-11e7-b71a-000d3a02c330\volumes\test~hostpath.cmd\flextest` 
    
    **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 #56875
    
    **Special notes for your reviewer**:
    Detailed steps about how to use flexvolume on Windows with this PR:
    https://github.com/andyzhangx/Demo/tree/master/windows/flexvolume
    
    **Release note**:
    
    ```
    enable flexvolume on Windows node
    ```
    
    /sig windows
    ea55d70e
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
attacher-defaults.go Loading commit data...
attacher.go Loading commit data...
attacher_test.go Loading commit data...
common_test.go Loading commit data...
detacher-defaults.go Loading commit data...
detacher.go Loading commit data...
detacher_test.go Loading commit data...
driver-call.go Loading commit data...
driver-call_test.go Loading commit data...
fake_watcher.go Loading commit data...
flexvolume_test.go Loading commit data...
mounter-defaults.go Loading commit data...
mounter.go Loading commit data...
mounter_test.go Loading commit data...
plugin-defaults.go Loading commit data...
plugin.go Loading commit data...
plugin_test.go Loading commit data...
probe.go Loading commit data...
probe_test.go Loading commit data...
unmounter-defaults.go Loading commit data...
unmounter.go Loading commit data...
unmounter_test.go Loading commit data...
util.go Loading commit data...
volume.go Loading commit data...