Merge pull request #106501 from ehashman/cri-graduation-v1

Make CRI v1 the default and allow a fallback to v1alpha2
This commit is contained in:
Kubernetes Prow Robot
2021-11-17 19:57:01 -08:00
committed by GitHub
115 changed files with 1385 additions and 180 deletions

View File

@@ -19,7 +19,7 @@ package cri
import (
"time"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
)
// RuntimeVersioner contains methods for runtime name, version and API version.

View File

@@ -22,7 +22,7 @@ import (
"github.com/stretchr/testify/assert"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
)
// FakeImageService fakes the image service.

View File

@@ -22,7 +22,7 @@ import (
"sync"
"time"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
)
var (

View File

@@ -19,7 +19,7 @@ package testing
import (
"fmt"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
)
// BuildContainerName creates a unique container name string.