k3s/pkg/volume/util
Kubernetes Submit Queue a50984b4ff
Merge pull request #60342 from joelsmith/nested
Automatic merge from submit-queue (batch tested with PRs 60342, 60505, 59218, 52900, 60486). 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>.

Fix nested volume mounts for read-only API data volumes

**What this PR does / why we need it**:

Since the runtime may try to create mount points within the sandbox, it will fail if the mount point is within a read-only API data volume, like a secret or configMap volume.

Create any needed mount points during volume setup.

**Which issue(s) this PR fixes**:
Fixes #60341

**Special notes for your reviewer**:


**Release note**:

No release note needed since we haven't released any versions with this bug present (yet)

```release-note
NONE

```
2018-02-28 06:07:21 -08:00
..
fs update bazel 2018-02-27 20:23:36 +08:00
nestedpendingoperations Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
operationexecutor update bazel 2018-02-27 20:23:36 +08:00
recyclerclient update bazel 2018-02-27 20:23:36 +08:00
types refactored mount, attach, resize operation's so that all failures generate events and event generation is more consistent. 2017-12-14 11:09:12 -08:00
volumepathhandler update bazel 2018-02-27 20:23:36 +08:00
BUILD Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
OWNERS
atomic_writer.go Merge pull request #50724 from allencloud/fix-incorrect-comparison-log 2018-02-26 20:34:37 -08:00
atomic_writer_test.go Rework method of updating atomic-updated data volumes 2018-01-17 12:09:20 -07:00
device_util.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
device_util_linux.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
device_util_linux_test.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
device_util_unsupported.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
doc.go
error.go Fix dangling attach errors 2017-11-16 08:43:36 -05:00
finalizer.go reuse PVC protection admission plugin for PV protection 2018-01-31 20:02:01 +08:00
io_util.go
metrics.go refactored mount, attach, resize operation's so that all failures generate events and event generation is more consistent. 2017-12-14 11:09:12 -08:00
nested_volumes.go Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
nested_volumes_test.go Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
resize_util.go Improve messaging on resize 2018-01-29 15:07:51 -05:00
resize_util_test.go Improve messaging on resize 2018-01-29 15:07:51 -05:00
util.go update bazel 2018-02-27 20:23:36 +08:00
util_test.go Make a few code paths compile cleanly with 32-bit Go. 2018-02-27 13:53:32 -08:00