Skip to content

Commit

Permalink
fix(autok3s): fix break link in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
orangedeng committed Aug 15, 2022
1 parent d59b84d commit e6ca11a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ fi

# - INSTALL_AUTOK3S_MIRROR
# For Chinese users, set INSTALL_AUTOK3S_MIRROR=cn to use the mirror address to accelerate
# autok3s binary file download, and the default mirror address is rancher-mirror.rancher.cn
# autok3s binary file download, and the default mirror address is rancher-mirror.oss-cn-beijing.aliyuncs.com

if [ "${INSTALL_AUTOK3S_MIRROR}" = cn ]; then
AUTOK3S_DOWNLOAD_URL=https://rancher-mirror.rancher.cn/$REPO
AUTOK3S_DOWNLOAD_URL=https://rancher-mirror.oss-cn-beijing.aliyuncs.com/$REPO
version=$(curl -sS $AUTOK3S_DOWNLOAD_URL/channels/latest)
KUBEEXPLORER_DOWNLOAD_URL=https://rancher-mirror.rancher.cn/$KUBEEXPLORER_REPO
KUBEEXPLORER_DOWNLOAD_URL=https://rancher-mirror.oss-cn-beijing.aliyuncs.com/$KUBEEXPLORER_REPO

else
AUTOK3S_DOWNLOAD_URL=https://github.com/$OWNER/$REPO/releases/download
Expand Down

0 comments on commit e6ca11a

Please sign in to comment.