From a681474f7607415084d635307d72cecf3bed4818 Mon Sep 17 00:00:00 2001 From: Dmitri Fedotov Date: Mon, 9 Oct 2023 12:41:48 +0300 Subject: [PATCH] fix(template): containerd plugin name * to fix error "failed to load TOML from /etc/containerd/config.toml: invalid plugin key URI "containerd.runtime.v1.linux" expect io.containerd.x.vx" --- pkg/templates/node_1.24.go | 2 +- pkg/templates/node_1.26.go | 2 +- pkg/templates/node_1.27.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/templates/node_1.24.go b/pkg/templates/node_1.24.go index e2c5475834..255a0a19cd 100644 --- a/pkg/templates/node_1.24.go +++ b/pkg/templates/node_1.24.go @@ -130,7 +130,7 @@ storage: uid = 0 # socket gid gid = 0 - [plugins."containerd.runtime.v1.linux"] + [plugins."io.containerd.runtime.v1.linux"] # shim binary name/path shim = "containerd-shim" # runtime binary name/path diff --git a/pkg/templates/node_1.26.go b/pkg/templates/node_1.26.go index c0bfd9e051..a397b5f07e 100644 --- a/pkg/templates/node_1.26.go +++ b/pkg/templates/node_1.26.go @@ -133,7 +133,7 @@ storage: uid = 0 # socket gid gid = 0 - [plugins."containerd.runtime.v1.linux"] + [plugins."io.containerd.runtime.v1.linux"] # shim binary name/path shim = "containerd-shim" # runtime binary name/path diff --git a/pkg/templates/node_1.27.go b/pkg/templates/node_1.27.go index a2705410c8..4ff7cc2fc4 100644 --- a/pkg/templates/node_1.27.go +++ b/pkg/templates/node_1.27.go @@ -132,7 +132,7 @@ storage: uid = 0 # socket gid gid = 0 - [plugins."containerd.runtime.v1.linux"] + [plugins."io.containerd.runtime.v1.linux"] # shim binary name/path shim = "containerd-shim" # runtime binary name/path