Revert "cri: make read-only mounts recursively read-only"
Revert PR 9713, as it appeared to break the compatibility too much
https://github.com/kubernetes/enhancements/pull/3858#issuecomment-1925441072
This reverts commit b2f254fff0.
> Conflicts:
> internal/cri/opts/spec_linux_opts.go
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -369,14 +369,6 @@ version = 2
|
||||
# See https://github.com/containerd/containerd/issues/6657 for context.
|
||||
snapshotter = ""
|
||||
|
||||
# treat_ro_mounts_as_rro ("Enabled"|"IfPossible"|"Disabled")
|
||||
# treats read-only mounts as recursive read-only mounts.
|
||||
# An empty string means "IfPossible".
|
||||
# "Enabled" requires Linux kernel v5.12 or later.
|
||||
# Introduced in containerd v2.0.
|
||||
# This configuration does not apply to non-volume mounts such as "/sys/fs/cgroup".
|
||||
treat_ro_mounts_as_rro = ""
|
||||
|
||||
# 'plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options' is options specific to
|
||||
# "io.containerd.runc.v1" and "io.containerd.runc.v2". Its corresponding options type is:
|
||||
# https://github.com/containerd/containerd/blob/v1.3.2/runtime/v2/runc/options/oci.pb.go#L26 .
|
||||
|
||||
Reference in New Issue
Block a user