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 <[email protected]>
  • Loading branch information
rayandas authored and innobead committed Feb 22, 2023
1 parent d4b540a commit b22ed68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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
4 changes: 2 additions & 2 deletions mirror_csi_images/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ if [[ -n "${LONGHORN_IMAGES_FILE_URL}" ]]; then
if [[ "${LINE}" =~ "csi-" ]]; then
CSI_IMAGE=$(echo "${LINE}" | sed -e "s/longhornio\///g")
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}"
fi
done < "${LONGHORN_IMAGES_FILE}"
else
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
fi

Expand Down

0 comments on commit b22ed68

Please sign in to comment.