Skip to content

Commit

Permalink
Add kind installation directory to the PATH
Browse files Browse the repository at this point in the history
Signed-off-by: Thasnim Abdulla <[email protected]>
  • Loading branch information
thasnim-abdulla committed Nov 1, 2024
1 parent e9c1d5d commit 3f8dabf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/install-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ KIND_VERSION="${KIND_VERSION:-v0.24.0}"
if ! hash kind > /dev/null 2>&1 ; then
echo "# Installing KinD..."
go install "sigs.k8s.io/kind@${KIND_VERSION}"
export PATH=$PATH:$(go env GOPATH)/bin
readonly PATH_TO_KIND="$(go env GOPATH)/bin"
export PATH="$PATH:$PATH_TO_KIND"
fi

# print kind version
Expand Down

0 comments on commit 3f8dabf

Please sign in to comment.