• Kubernetes Submit Queue's avatar
    Merge pull request #65447 from wongma7/mapvolume-symlink · 24ab69d3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 65492, 65516, 65447). 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>.
    
    Resolve potential devicePath symlink when MapVolume in containerized kubelet
    
    **What this PR does / why we need it**: Ensures local block volumes will work in case kubelet is running in a container
    
    **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 #65445
    
    **Special notes for your reviewer**: Code is mostly plumbing. If there is a better way to do it, let me know :)
    
    I assume there will be e2e tests for the non-containerized case. I will need to test the containerized case myself, which may take a while.
    **Release note**:
    
    ```release-note
    NONE
    ```
    24ab69d3
Name
Last commit
Last update
..
fs Loading commit data...
nestedpendingoperations Loading commit data...
operationexecutor Loading commit data...
recyclerclient Loading commit data...
types Loading commit data...
volumepathhandler Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
atomic_writer.go Loading commit data...
atomic_writer_test.go Loading commit data...
attach_limit.go Loading commit data...
device_util.go Loading commit data...
device_util_linux.go Loading commit data...
device_util_linux_test.go Loading commit data...
device_util_unsupported.go Loading commit data...
doc.go Loading commit data...
error.go Loading commit data...
finalizer.go Loading commit data...
io_util.go Loading commit data...
metrics.go Loading commit data...
nested_volumes.go Loading commit data...
nested_volumes_test.go Loading commit data...
resize_util.go Loading commit data...
resize_util_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...