mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-27 05:04:52 +00:00
Fix etcd repository path to prevent redirects.
Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
@@ -168,7 +168,7 @@ kube::etcd::install() {
|
||||
ln -fns "etcd-v${ETCD_VERSION}-${os}-${arch}" etcd
|
||||
rm "${download_file}"
|
||||
elif [[ ${os} == "linux" ]]; then
|
||||
url="https://github.com/coreos/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-${os}-${arch}.tar.gz"
|
||||
url="https://github.com/etcd-io/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-${os}-${arch}.tar.gz"
|
||||
download_file="etcd-v${ETCD_VERSION}-${os}-${arch}.tar.gz"
|
||||
kube::util::download_file "${url}" "${download_file}"
|
||||
tar xzf "${download_file}"
|
||||
|
Reference in New Issue
Block a user