KEP-3619: CRI: add RuntimeFeatures.SupplementalGroupsPolicy in StatusResponse

KEP-3619: don't capitalize comment in CRI

KEP-3619: fix typos and grammatical ones in CRI

KEP-3619: rephrase RuntimeFeatures, RuntimeHandlerFeatures comment in CRI
This commit is contained in:
Shingo Omura 2024-06-22 18:26:42 +09:00
parent ae1caa40a2
commit 38e4c6b016
No known key found for this signature in database
2 changed files with 736 additions and 483 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1600,6 +1600,7 @@ message StatusRequest {
bool verbose = 1;
}
// RuntimeHandlerFeatures is a set of features implemented by the runtime handler.
message RuntimeHandlerFeatures {
// recursive_read_only_mounts is set to true if the runtime handler supports
// recursive read-only mounts.
@ -1620,6 +1621,14 @@ message RuntimeHandler {
RuntimeHandlerFeatures features = 2;
}
// RuntimeFeatures describes the set of features implemented by the CRI implementation.
// The features contained in the RuntimeFeatures should depend only on the cri implementation
// independent of runtime handlers.
message RuntimeFeatures {
// supplemental_groups_policy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
bool supplemental_groups_policy = 1;
}
message StatusResponse {
// Status of the Runtime.
RuntimeStatus status = 1;
@ -1630,6 +1639,9 @@ message StatusResponse {
map<string, string> info = 2;
// Runtime handlers.
repeated RuntimeHandler runtime_handlers = 3;
// features describes the set of features implemented by the CRI implementation.
// This field is supposed to propagate to NodeFeatures in Kubernetes API.
RuntimeFeatures features = 4;
}
message ImageFsInfoRequest {}