Skip to content

Commit

Permalink
nit: Add offline note for kube-* images (kubernetes-sigs#8718)
Browse files Browse the repository at this point in the history
  • Loading branch information
oomichi authored and LuckySB committed Oct 23, 2023
1 parent 86b7ea8 commit bd9d65a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/offline/generate_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ sed -n '/^downloads:/,/download_defaults:/p' ${REPO_ROOT_DIR}/${DOWNLOAD_YML} \
| sed 'N;s#\n# #g' | tr ' ' ':' | sed 's/\"//g' > ${TEMP_DIR}/images.list.template

# add kube-* images to images list template
# Those container images are downloaded by kubeadm, then roles/download/defaults/main.yml
# doesn't contain those images. That is reason why here needs to put those images into the
# list separately.
KUBE_IMAGES="kube-apiserver kube-controller-manager kube-scheduler kube-proxy"
for i in $KUBE_IMAGES; do
echo "{{ kube_image_repo }}/$i:{{ kube_version }}" >> ${TEMP_DIR}/images.list.template
Expand Down

0 comments on commit bd9d65a

Please sign in to comment.