Skip to content

Commit

Permalink
Merge pull request #263 from Azure/users/midobrzy/kustomizeInstallDir
Browse files Browse the repository at this point in the history
Create install directory before downloading kustomize
  • Loading branch information
dobrzyn2 authored Oct 2, 2019
2 parents becb841 + 643197f commit 3f60456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ endif
install-kustomize:
ifeq (,$(shell which kustomize))
@echo "installing kustomize"
mkdir -p /usr/local/kubebuilder/bin
# download kustomize
curl -o /usr/local/kubebuilder/bin/kustomize -sL "https://go.kubebuilder.io/kustomize/$(shell go env GOOS)/$(shell go env GOARCH)"
# set permission
Expand Down

0 comments on commit 3f60456

Please sign in to comment.