Skip to content

Commit

Permalink
Merge pull request #1 from trywilco/shem8-patch-1
Browse files Browse the repository at this point in the history
Update compile
  • Loading branch information
shem8 authored Dec 1, 2024
2 parents 976736b + 55e2c98 commit 9421aa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ BUILD_DIR=$1
CACHE_DIR=$2
ENV_DIR=$3

KUBECTL_VERSION=$(curl -L -s https://dl.k8s.io/release/stable.txt)
KUBECTL_VERSION=$(curl -L -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)

# Download and install kubectl
echo "Installing kubectl version $KUBECTL_VERSION"
DOWNLOAD_URL="https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl"

mkdir -p "$CACHE_DIR/kubectl/$KUBECTL_VERSION"
KUBECTL_CACHE_FILE="$CACHE_DIR/kubectl/$KUBECTL_VERSION/kubectl"

Expand Down

0 comments on commit 9421aa6

Please sign in to comment.