migrate from k8s.gcr.io to registry.k8s.io

Signed-off-by: Paco Xu <paco.xu@daocloud.io>
This commit is contained in:
Paco Xu
2022-06-09 16:14:10 +08:00
parent 542e4b219d
commit 9525b3148a
11 changed files with 25 additions and 25 deletions

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