mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Remove the deprecated --enable-cri flag
Except for rkt, CRI is the default and only integration point for container runtimes.
This commit is contained in:
@@ -143,6 +143,14 @@ func newTestKubeletWithImageList(
|
||||
fakeRuntime.RuntimeType = "test"
|
||||
fakeRuntime.VersionInfo = "1.5.0"
|
||||
fakeRuntime.ImageList = imageList
|
||||
// Set ready conditions by default.
|
||||
fakeRuntime.RuntimeStatus = &kubecontainer.RuntimeStatus{
|
||||
Conditions: []kubecontainer.RuntimeCondition{
|
||||
{Type: "RuntimeReady", Status: true},
|
||||
{Type: "NetworkReady", Status: true},
|
||||
},
|
||||
}
|
||||
|
||||
fakeRecorder := &record.FakeRecorder{}
|
||||
fakeKubeClient := &fake.Clientset{}
|
||||
kubelet := &Kubelet{}
|
||||
|
||||
Reference in New Issue
Block a user