From 3e7bd20f8b96ea88255a40232b9af850398b8526 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Mon, 24 Jun 2024 10:34:43 +0200 Subject: [PATCH] Add ImageVolumeSource API Adding the required Kubernetes API so that the kubelet can start using it. This patch also adds the corresponding alpha feature gate as outlined in KEP 4639. Signed-off-by: Sascha Grunert Kubernetes-commit: f7ca3131e0922563a561134b4ed9eed8d2bdd2c4 --- pkg/apis/runtime/v1/api.pb.go | 2 +- pkg/apis/runtime/v1/api.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/runtime/v1/api.pb.go b/pkg/apis/runtime/v1/api.pb.go index 0922abb..d9f51eb 100644 --- a/pkg/apis/runtime/v1/api.pb.go +++ b/pkg/apis/runtime/v1/api.pb.go @@ -651,7 +651,7 @@ type Mount struct { // - (readonly == false && recursive_read_only == false) does not make the mount read-only. RecursiveReadOnly bool `protobuf:"varint,8,opt,name=recursive_read_only,json=recursiveReadOnly,proto3" json:"recursive_read_only,omitempty"` // 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 + // special use case for image 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 diff --git a/pkg/apis/runtime/v1/api.proto b/pkg/apis/runtime/v1/api.proto index 838d151..9938c6a 100644 --- a/pkg/apis/runtime/v1/api.proto +++ b/pkg/apis/runtime/v1/api.proto @@ -245,7 +245,7 @@ message Mount { // - (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 + // special use case for image 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