mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Merge pull request #125659 from saschagrunert/oci-volumesource-cri-api
[KEP-4639] Add OCI VolumeSource CRI API
This commit is contained in:
commit
d95de06fa7
File diff suppressed because it is too large
Load Diff
@ -244,6 +244,15 @@ message Mount {
|
||||
// - when set to true, readonly must be explicitly set to true, and propagation must be PRIVATE (0).
|
||||
// - (readonly == false && recursive_read_only == false) does not make the mount read-only.
|
||||
bool recursive_read_only = 8;
|
||||
// Mount an image reference (image ID, with or without digest), which is a
|
||||
// special use case for OCI volume mounts. If this field is set, then
|
||||
// host_path should be unset. All OCI mounts are per feature definition
|
||||
// readonly. The kubelet does an PullImage RPC and evaluates the returned
|
||||
// PullImageResponse.image_ref value, which is then set to the
|
||||
// ImageSpec.image field. Runtimes are expected to mount the image as
|
||||
// required.
|
||||
// Introduced in the OCI Volume Source KEP: https://kep.k8s.io/4639
|
||||
ImageSpec image = 9;
|
||||
}
|
||||
|
||||
// IDMapping describes host to container ID mappings for a pod sandbox.
|
||||
|
Loading…
Reference in New Issue
Block a user