mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-14 12:00:15 +00:00
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 ```