mirror of https://github.com/k3s-io/k3s
![]() 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>. passthrough readOnly to subpath **What this PR does / why we need it**: If a volume is mounted as readonly, or subpath volumeMount is configured as readonly, then the subpath bind mount should be readonly. **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 #62752 **Special notes for your reviewer**: **Release note**: ```release-note Fixes issue where subpath readOnly mounts failed ``` |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
doc.go | ||
exec.go | ||
exec_mount.go | ||
exec_mount_test.go | ||
exec_mount_unsupported.go | ||
fake.go | ||
mount.go | ||
mount_linux.go | ||
mount_linux_test.go | ||
mount_unsupported.go | ||
mount_windows.go | ||
mount_windows_test.go | ||
nsenter_mount.go | ||
nsenter_mount_test.go | ||
nsenter_mount_unsupported.go | ||
safe_format_and_mount_test.go |