Merge pull request #125659 from saschagrunert/oci-volumesource-cri-api

[KEP-4639] Add OCI VolumeSource CRI API
This commit is contained in:
Kubernetes Prow Robot 2024-07-03 15:46:15 -07:00 committed by GitHub
commit d95de06fa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 562 additions and 483 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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.