cri: remove sandbox controller from client
cri will call sandbox controller from the sandboxService, remove the dependency of client. Signed-off-by: Abel Feng <fshb1988@gmail.com>
This commit is contained in:
@@ -119,7 +119,6 @@ func initCRIService(ic *plugin.InitContext) (interface{}, error) {
|
||||
containerd.WithDefaultNamespace(constants.K8sContainerdNamespace),
|
||||
containerd.WithDefaultPlatform(platforms.Default()),
|
||||
containerd.WithInMemoryServices(ic),
|
||||
containerd.WithInMemorySandboxControllers(ic),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to create containerd client: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user