From 9262ea47a5d93d44b14f298663982b75ed2e4898 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Mon, 25 Oct 2021 13:13:56 -0700 Subject: 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 --- pkg/shim/runtimeoptions/runtimeoptions.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkg/shim/runtimeoptions/runtimeoptions.proto') 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; } -- cgit v1.2.3