Skip to content

Commit

Permalink
Add support for containerd v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Feb 7, 2020
1 parent 1270f6f commit 7048755
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions nodeup/pkg/model/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pkg/model/components/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 7048755

Please sign in to comment.