|
|
|
@ -15,7 +15,7 @@ get_arch () {
|
|
|
|
|
|
|
|
|
|
APP=kubectl
|
|
|
|
|
# https://dl.k8s.io/release/stable.txt
|
|
|
|
|
VERSION=${VERSION:-1.23.5}
|
|
|
|
|
VERSION=${VERSION:-1.26.1}
|
|
|
|
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
|
|
|
|
URL=https://dl.k8s.io/release/v${VERSION}/bin/$(get_os)/$(get_arch)/kubectl
|
|
|
|
|
|
|
|
|
|