Skip to content

Commit

Permalink
Fxi kubectl install script
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Aug 28, 2024
1 parent bd9ad60 commit b981aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/install-kubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test "$ARCH" = "x86_64" && ARCH="amd64"

# If kind exists, compare current version to desired one
if [ -e $KUBECTL_BIN ]; then
CURRENT_KUBECTL_VERSION=$(kubectl version --client --short | grep "^Client Version" | awk '{print $3}')
CURRENT_KUBECTL_VERSION=$(kubectl version --client | grep "^Client Version" | awk '{print $3}')
if [ "$CURRENT_KUBECTL_VERSION" != "$KUBECTL_VERSION" ]; then
sudo rm "$KUBECTL_BIN"
fi
Expand Down

0 comments on commit b981aa9

Please sign in to comment.