From 5a11761cee45b84eb655d93427e6d63226d8c2ce Mon Sep 17 00:00:00 2001 From: Rayan Das Date: Wed, 22 Feb 2023 12:03:10 +0530 Subject: [PATCH] update k8s.gcr.io to registry.k8s.io Signed-off-by: Rayan Das (cherry picked from commit b22ed687d8c1b8d38638bf56c34cf34e611bd7f8) --- .../v1.2.3/test-scalability-with-backing-image.md | 2 +- .../v1.3.0/test-longhorn-manager-starting-scalability.md | 2 +- mirror_csi_images/scripts/publish.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/manual/release-specific/v1.2.3/test-scalability-with-backing-image.md b/docs/content/manual/release-specific/v1.2.3/test-scalability-with-backing-image.md index 38ef54de8c..4bdc3e604e 100644 --- a/docs/content/manual/release-specific/v1.2.3/test-scalability-with-backing-image.md +++ b/docs/content/manual/release-specific/v1.2.3/test-scalability-with-backing-image.md @@ -220,7 +220,7 @@ title: Test scalability with backing image terminationGracePeriodSeconds: 10 containers: - name: nginx - image: k8s.gcr.io/nginx-slim:0.8 + image: registry.k8s.io/nginx-slim:0.8 ports: - containerPort: 80 name: web diff --git a/docs/content/manual/release-specific/v1.3.0/test-longhorn-manager-starting-scalability.md b/docs/content/manual/release-specific/v1.3.0/test-longhorn-manager-starting-scalability.md index 59f00d4d98..f5871eab38 100644 --- a/docs/content/manual/release-specific/v1.3.0/test-longhorn-manager-starting-scalability.md +++ b/docs/content/manual/release-specific/v1.3.0/test-longhorn-manager-starting-scalability.md @@ -67,7 +67,7 @@ title: Test longhorn manager pod starting scalability terminationGracePeriodSeconds: 10 containers: - name: nginx - image: k8s.gcr.io/nginx-slim:0.8 + image: registry.k8s.io/nginx-slim:0.8 ports: - containerPort: 80 name: web diff --git a/mirror_csi_images/scripts/publish.sh b/mirror_csi_images/scripts/publish.sh index 716c04b628..14c8a34251 100755 --- a/mirror_csi_images/scripts/publish.sh +++ b/mirror_csi_images/scripts/publish.sh @@ -6,7 +6,7 @@ touch $INFILE IFS=, read -ra CSI_IMAGES_ARR <<< "${CSI_IMAGES}" for CSI_IMAGE in "${CSI_IMAGES_ARR[@]}"; do IFS=: read -ra IMAGE_TAG_PAIR <<< "$CSI_IMAGE" - echo "k8s.gcr.io/sig-storage/${IMAGE_TAG_PAIR[0]}" "longhornio/${IMAGE_TAG_PAIR[0]}" "${IMAGE_TAG_PAIR[1]}" >> $INFILE + echo "registry.k8s.io/sig-storage/${IMAGE_TAG_PAIR[0]}" "longhornio/${IMAGE_TAG_PAIR[0]}" "${IMAGE_TAG_PAIR[1]}" >> $INFILE done docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"