Merge pull request #7038 from pacoxu/registry-change
This commit is contained in:
@@ -367,7 +367,7 @@ func TestImagePullSomePlatforms(t *testing.T) {
|
||||
|
||||
// Note: Must be different to the image used in TestImagePullAllPlatforms
|
||||
// or it will see the content pulled by that, and fail.
|
||||
img, err := client.Fetch(ctx, "k8s.gcr.io/e2e-test-images/busybox:1.29-2", opts...)
|
||||
img, err := client.Fetch(ctx, "registry.k8s.io/e2e-test-images/busybox:1.29-2", opts...)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ func TestImageIsUnpacked(t *testing.T) {
|
||||
|
||||
func TestImagePullWithDistSourceLabel(t *testing.T) {
|
||||
var (
|
||||
source = "k8s.gcr.io"
|
||||
source = "registry.k8s.io"
|
||||
repoName = "pause"
|
||||
tag = "3.6"
|
||||
)
|
||||
@@ -232,7 +232,7 @@ func TestImageUsage(t *testing.T) {
|
||||
func TestImageSupportedBySnapshotter_Error(t *testing.T) {
|
||||
var unsupportedImage string
|
||||
if runtime.GOOS == "windows" {
|
||||
unsupportedImage = "k8s.gcr.io/pause-amd64:3.2"
|
||||
unsupportedImage = "registry.k8s.io/pause-amd64:3.2"
|
||||
} else {
|
||||
unsupportedImage = "mcr.microsoft.com/windows/nanoserver:1809"
|
||||
}
|
||||
|
||||
@@ -49,8 +49,8 @@ func initImages(imageListFile string) {
|
||||
imageList = ImageList{
|
||||
Alpine: "docker.io/library/alpine:latest",
|
||||
BusyBox: "docker.io/library/busybox:latest",
|
||||
Pause: "k8s.gcr.io/pause:3.7",
|
||||
ResourceConsumer: "k8s.gcr.io/e2e-test-images/resource-consumer:1.10",
|
||||
Pause: "registry.k8s.io/pause:3.7",
|
||||
ResourceConsumer: "registry.k8s.io/e2e-test-images/resource-consumer:1.10",
|
||||
VolumeCopyUp: "ghcr.io/containerd/volume-copy-up:2.1",
|
||||
VolumeOwnership: "ghcr.io/containerd/volume-ownership:2.1",
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alpine = "docker.io/library/alpine:latest"
|
||||
busybox = "docker.io/library/busybox:latest"
|
||||
pause = "k8s.gcr.io/pause:3.7"
|
||||
pause = "registry.k8s.io/pause:3.7"
|
||||
VolumeCopyUp = "ghcr.io/containerd/volume-copy-up:2.1"
|
||||
VolumeOwnership = "ghcr.io/containerd/volume-ownership:2.1"
|
||||
|
||||
Reference in New Issue
Block a user