Skip to content

Commit

Permalink
update k8s.gcr.io to registry.k8s.io
Browse files Browse the repository at this point in the history
Signed-off-by: Rayan Das <rayandas91@gmail.com>
(cherry picked from commit b22ed68)
  • Loading branch information
rayandas authored and innobead committed Mar 1, 2023
1 parent 2e6a9f3 commit 16eebe0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mirror_csi_images/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 16eebe0

Please sign in to comment.