diff options
author | Fabricio Voznika <fvoznika@google.com> | 2021-10-25 13:13:56 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-25 13:17:25 -0700 |
commit | 9262ea47a5d93d44b14f298663982b75ed2e4898 (patch) | |
tree | a7f1c8e67d9c3180e30f309186e63a83aa099449 /pkg/shim/runtimeoptions/runtimeoptions.proto | |
parent | 7c267106d1d7d162d6204e6b0402d3063b1bf468 (diff) |
Add support for containerd 1.5
"cri.runtimeoptions.v1" moved to "runtimeoptions.v1" and containerd
configuration format version 2 is required.
Updates #6449
PiperOrigin-RevId: 405474653
Diffstat (limited to 'pkg/shim/runtimeoptions/runtimeoptions.proto')
-rw-r--r-- | pkg/shim/runtimeoptions/runtimeoptions.proto | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/shim/runtimeoptions/runtimeoptions.proto b/pkg/shim/runtimeoptions/runtimeoptions.proto index 057032e34..f3c1c605c 100644 --- a/pkg/shim/runtimeoptions/runtimeoptions.proto +++ b/pkg/shim/runtimeoptions/runtimeoptions.proto @@ -14,12 +14,16 @@ syntax = "proto3"; -package cri.runtimeoptions.v1; +package runtimeoptions.v1; // This is a version of the runtimeoptions CRI API that is vendored. +// Source: cri/pkg/api/runtimeoptions/v1/api.proto // // Importing the full CRI package is a nightmare. message Options { + // TypeUrl specifies the type of the content inside the config file. string type_url = 1; + // ConfigPath specifies the filesystem location of the config file + // used by the runtime. string config_path = 2; } |