diff --git a/docs/source/markdown/podman-events.1.md b/docs/source/markdown/podman-events.1.md index b6e7df3d02..5de46724b3 100644 --- a/docs/source/markdown/podman-events.1.md +++ b/docs/source/markdown/podman-events.1.md @@ -174,7 +174,7 @@ Show only Podman create events ``` $ podman events -f event=create 2019-03-02 10:36:01.375685062 -0600 CST container create 20dc581f6fbf (image=docker.io/library/alpine:latest, name=sharp_morse) -2019-03-02 10:36:08.561188337 -0600 CST container create 58e7e002344c (image=k8s.gcr.io/pause:3.1, name=3e701f270d54-infra) +2019-03-02 10:36:08.561188337 -0600 CST container create 58e7e002344c (image=registry.k8s.io/pause:3.1, name=3e701f270d54-infra) 2019-03-02 10:36:13.146899437 -0600 CST volume create cad6dc50e087 (image=, name=cad6dc50e0879568e7d656bd004bd343d6035e7fc4024e1711506fe2fd459e6f) 2019-03-02 10:36:29.978806894 -0600 CST container create d81e30f1310f (image=docker.io/library/busybox:latest, name=musing_newton) ``` @@ -190,9 +190,9 @@ $ podman events --filter event=create --filter type=pod Show only Podman events created in the last five minutes: ``` $ sudo podman events --since 5m -2019-03-02 10:44:29.598835409 -0600 CST container create b629d10d3831 (image=k8s.gcr.io/pause:3.1, name=1df5ebca7b44-infra) +2019-03-02 10:44:29.598835409 -0600 CST container create b629d10d3831 (image=registry.k8s.io/pause:3.1, name=1df5ebca7b44-infra) 2019-03-02 10:44:29.601746633 -0600 CST pod create 1df5ebca7b44 (image=, name=confident_hawking) -2019-03-02 10:44:42.371100253 -0600 CST container create 170a0f457d00 (image=k8s.gcr.io/pause:3.1, name=ca731231718e-infra) +2019-03-02 10:44:42.371100253 -0600 CST container create 170a0f457d00 (image=registry.k8s.io/pause:3.1, name=ca731231718e-infra) 2019-03-02 10:44:42.374637304 -0600 CST pod create ca731231718e (image=, name=webapp) ``` diff --git a/pkg/k8s.io/api/core/v1/types.go b/pkg/k8s.io/api/core/v1/types.go index 334b55445c..a7054478a8 100644 --- a/pkg/k8s.io/api/core/v1/types.go +++ b/pkg/k8s.io/api/core/v1/types.go @@ -3424,7 +3424,7 @@ type ConfigMapNodeConfigSource struct { // Describe a container image type ContainerImage struct { // Names by which this image is known. - // e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"] + // e.g. ["registry.k8s.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"] // +optional Names []string `json:"names"` // The size of the image in bytes. diff --git a/test/e2e/config.go b/test/e2e/config.go index 47c835f5eb..4b7a349bd5 100644 --- a/test/e2e/config.go +++ b/test/e2e/config.go @@ -10,7 +10,7 @@ var ( ALPINEAMD64ID = "961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4" ALPINEARM64DIGEST = "quay.io/libpod/alpine@sha256:f270dcd11e64b85919c3bab66886e59d677cf657528ac0e4805d3c71e458e525" ALPINEARM64ID = "915beeae46751fc564998c79e73a1026542e945ca4f73dc841d09ccc6c2c0672" - INFRA_IMAGE = "k8s.gcr.io/pause:3.2" //nolint:revive,stylecheck + INFRA_IMAGE = "registry.k8s.io/pause:3.2" //nolint:revive,stylecheck BB = "quay.io/libpod/busybox:latest" HEALTHCHECK_IMAGE = "quay.io/libpod/alpine_healthcheck:latest" //nolint:revive,stylecheck fedoraToolbox = "registry.fedoraproject.org/fedora-toolbox:36" diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index 475045e54b..5288e13981 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -23,8 +23,8 @@ var _ = Describe("Podman manifest", func() { ) const ( - imageList = "docker://k8s.gcr.io/pause:3.1" - imageListInstance = "docker://k8s.gcr.io/pause@sha256:f365626a556e58189fc21d099fc64603db0f440bff07f77c740989515c544a39" + imageList = "docker://registry.k8s.io/pause:3.1" + imageListInstance = "docker://registry.k8s.io/pause@sha256:f365626a556e58189fc21d099fc64603db0f440bff07f77c740989515c544a39" imageListARM64InstanceDigest = "sha256:f365626a556e58189fc21d099fc64603db0f440bff07f77c740989515c544a39" imageListAMD64InstanceDigest = "sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610" imageListARMInstanceDigest = "sha256:c84b0a3a07b628bc4d62e5047d0f8dff80f7c00979e1e28a821a033ecda8fe53" diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index b1cfc60d3b..1138c29dd2 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -1961,7 +1961,7 @@ var _ = Describe("Podman play kube", func() { It("podman play kube should use customized infra_image", func() { conffile := filepath.Join(podmanTest.TempDir, "container.conf") - infraImage := "k8s.gcr.io/pause:3.2" + infraImage := "registry.k8s.io/pause:3.2" err := os.WriteFile(conffile, []byte(fmt.Sprintf("[engine]\ninfra_image=\"%s\"\n", infraImage)), 0644) Expect(err).ToNot(HaveOccurred()) diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index 4e2e98df76..d0fbecd290 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -325,7 +325,7 @@ EOF @test "podman pod create should fail when infra-name is already in use" { local infra_name="infra_container_$(random_string 10 | tr A-Z a-z)" - local infra_image="k8s.gcr.io/pause:3.5" + local infra_image="registry.k8s.io/pause:3.5" local pod_name="$(random_string 10 | tr A-Z a-z)" run_podman --noout pod create --name $pod_name --infra-name "$infra_name" --infra-image "$infra_image" diff --git a/test/system/700-play.bats b/test/system/700-play.bats index e1f9961953..a3c7e6dee7 100644 --- a/test/system/700-play.bats +++ b/test/system/700-play.bats @@ -80,6 +80,7 @@ RELABEL="system_u:object_r:container_file_t:s0" # Make sure that the K8s pause image isn't pulled but the local podman-pause is built. run_podman images run_podman 1 image exists k8s.gcr.io/pause + run_podman 1 image exists registry.k8s.io/pause run_podman image exists $(pause_image) run_podman stop -a -t 0