Merge pull request #7038 from pacoxu/registry-change

This commit is contained in:
Samuel Karp
2022-08-24 13:04:13 -07:00
committed by GitHub
11 changed files with 25 additions and 25 deletions

View File

@@ -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)
}

View File

@@ -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"
}