Fixed kubectl download on Linux ARM64 VMs
This commit is contained in:
parent
f81a550064
commit
1ab8119063
1 changed files with 5 additions and 1 deletions
|
@ -285,7 +285,11 @@ spec:
|
||||||
fi
|
fi
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
curl -sS -LO "https://dl.k8s.io/release/v1.28.3//bin/linux/amd64/kubectl"
|
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||||
|
curl -sS -LO "https://dl.k8s.io/release/v1.28.3//bin/linux/amd64/kubectl"
|
||||||
|
else
|
||||||
|
curl -sS -LO "https://dl.k8s.io/release/v1.28.3//bin/linux/arm64/kubectl"
|
||||||
|
fi
|
||||||
chmod +x kubectl
|
chmod +x kubectl
|
||||||
|
|
||||||
echo "creating cnoe realm and groups"
|
echo "creating cnoe realm and groups"
|
||||||
|
|
Reference in a new issue