Merge pull request #5211 from pacoxu/pause/3.5
upgrade pause image to 3.5 for non-root
This commit is contained in:
@@ -310,7 +310,7 @@ func TestImagePullAllPlatforms(t *testing.T) {
|
||||
defer cancel()
|
||||
|
||||
cs := client.ContentStore()
|
||||
img, err := client.Fetch(ctx, "k8s.gcr.io/pause:3.4.1")
|
||||
img, err := client.Fetch(ctx, "k8s.gcr.io/pause:3.5")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
)
|
||||
|
||||
func TestImageIsUnpacked(t *testing.T) {
|
||||
const imageName = "k8s.gcr.io/pause:3.4.1"
|
||||
const imageName = "k8s.gcr.io/pause:3.5"
|
||||
ctx, cancel := testContext(t)
|
||||
defer cancel()
|
||||
|
||||
@@ -81,7 +81,7 @@ func TestImagePullWithDistSourceLabel(t *testing.T) {
|
||||
var (
|
||||
source = "k8s.gcr.io"
|
||||
repoName = "pause"
|
||||
tag = "3.4.1"
|
||||
tag = "3.5"
|
||||
)
|
||||
|
||||
ctx, cancel := testContext(t)
|
||||
@@ -137,7 +137,7 @@ func TestImageUsage(t *testing.T) {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
imageName := "k8s.gcr.io/pause:3.4.1"
|
||||
imageName := "k8s.gcr.io/pause:3.5"
|
||||
ctx, cancel := testContext(t)
|
||||
defer cancel()
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ func TestLeaseResources(t *testing.T) {
|
||||
defer ls.Delete(ctx, l, leases.SynchronousDelete)
|
||||
|
||||
// step 1: download image
|
||||
imageName := "k8s.gcr.io/pause:3.4.1"
|
||||
imageName := "k8s.gcr.io/pause:3.5"
|
||||
|
||||
image, err := client.Pull(ctx, imageName, WithPullUnpack, WithPullSnapshotter("native"))
|
||||
if err != nil {
|
||||
|
||||
@@ -49,7 +49,7 @@ import (
|
||||
|
||||
const (
|
||||
timeout = 1 * time.Minute
|
||||
pauseImage = "k8s.gcr.io/pause:3.4.1" // This is the same with default sandbox image.
|
||||
pauseImage = "k8s.gcr.io/pause:3.5" // This is the same with default sandbox image.
|
||||
k8sNamespace = constants.K8sContainerdNamespace
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user