Skip to content

Commit 126d631

Browse files
Merge pull request #5 from matucker-msft/patch-2
feat(k): switch to https://dl.k8s.io/ for kubectl binaries
2 parents d58707e + c336239 commit 126d631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ KUBECTL_PATH=$(command -v kubectl)
4646
if [ ! -z "$KUBECTL_PATH" ]; then
4747
LOCAL_KUBECTL=$KUBECTL_PATH
4848
elif [ ! -f "$LOCAL_KUBECTL" ]; then
49-
curl -L -o "$LOCAL_KUBECTL" "https://storage.googleapis.com/kubernetes-release/release/$KNOWN_VERSION/bin/$OS/$CPU_ARCHITECTURE/kubectl"
49+
curl -L -o "$LOCAL_KUBECTL" "https://dl.k8s.io/release/$KNOWN_VERSION/bin/$OS/$CPU_ARCHITECTURE/kubectl"
5050
chmod +x "$LOCAL_KUBECTL"
5151
fi
5252

@@ -72,7 +72,7 @@ fi
7272
TARGET=$KX_PATH/kubectl-$TARGET_VERSION
7373

7474
if [ ! -f "$TARGET" ]; then
75-
curl -L -o "$TARGET" "https://storage.googleapis.com/kubernetes-release/release/$TARGET_VERSION/bin/$OS/$CPU_ARCHITECTURE/kubectl"
75+
curl -L -o "$TARGET" "https://dl.k8s.io/release/$TARGET_VERSION/bin/$OS/$CPU_ARCHITECTURE/kubectl"
7676
chmod +x "$TARGET"
7777
fi
7878

0 commit comments

Comments
 (0)