mirror of https://github.com/kubernetes/kops.git
Merge pull request #8504 from hakman/containerd-1.3.3
Add support for containerd v1.3.3
This commit is contained in:
commit
d8a2e0b2a7
|
@ -135,6 +135,16 @@ var containerdVersions = []packageVersion{
|
|||
Hash: "f451d46280104588f236bee277bca1da8babc0e8",
|
||||
},
|
||||
|
||||
// 1.3.3 - Linux Generic
|
||||
{
|
||||
PackageVersion: "1.3.3",
|
||||
PlainBinary: true,
|
||||
Architectures: []Architecture{ArchitectureAmd64},
|
||||
Version: "1.3.3",
|
||||
Source: "https://storage.googleapis.com/cri-containerd-release/cri-containerd-1.3.3.linux-amd64.tar.gz",
|
||||
Hash: "921b74e84da366ec3eaa72ff97fa8d6ae56834c6",
|
||||
},
|
||||
|
||||
// TIP: When adding the next version, copy the previous version, string replace the version and run:
|
||||
// VERIFY_HASHES=1 go test ./nodeup/pkg/model -run TestContainerdPackageHashes
|
||||
// (you might want to temporarily comment out older versions on a slower connection and then validate)
|
||||
|
|
|
@ -54,7 +54,7 @@ func (b *ContainerdOptionsBuilder) BuildOptions(o interface{}) error {
|
|||
// Set containerd based on Kubernetes version
|
||||
if fi.StringValue(containerd.Version) == "" {
|
||||
if b.IsKubernetesGTE("1.17") {
|
||||
containerd.Version = fi.String("1.3.2")
|
||||
containerd.Version = fi.String("1.3.3")
|
||||
} else if b.IsKubernetesGTE("1.11") {
|
||||
return fmt.Errorf("containerd version is required")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue