🔧 Replace hyperkube with kube-apiserver

Hyperkube isn't available anymore, so the previous version of
the script would constantly redownload the tarball over and over
This commit is contained in:
Jérôme Petazzoni
2025-11-04 07:46:27 +01:00
parent c0a1f05cfc
commit c87e6328d2

View File

@@ -503,7 +503,7 @@ _cmd_kubebins() {
curl -L https://github.com/etcd-io/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-$ARCH.tar.gz \
| sudo tar --strip-components=1 --wildcards -zx '*/etcd' '*/etcdctl'
fi
if ! [ -x hyperkube ]; then
if ! [ -x kube-apiserver ]; then
##VERSION##
curl -L https://dl.k8s.io/$K8SBIN_VERSION/kubernetes-server-linux-$ARCH.tar.gz \
| sudo tar --strip-components=3 -zx \