Skip to content

Commit

Permalink
Fixing broken method for downloading kustomize (#138)
Browse files Browse the repository at this point in the history
* Fixing broken method for downloading kustomize

Signed-off-by: Joe Peacock <joe_peacock@intuit.com>

* Retrying

Signed-off-by: Joe Peacock <joe_peacock@intuit.com>

* Retrying

Signed-off-by: Joe Peacock <joe_peacock@intuit.com>

* Retrying

Signed-off-by: Joe Peacock <joe_peacock@intuit.com>

Co-authored-by: Joe Peacock <joe_peacock@intuit.com>
  • Loading branch information
josephpeacock and Joe Peacock committed Aug 27, 2020
1 parent 2ba71f4 commit cc73ec2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ download-kustomize:
curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases |\
grep browser_download |\
grep $(OPSYS) |\
grep kustomize_kustomize |\
head -n1 |\
cut -d '"' -f 4 |\
xargs curl -O -L
mv kustomize_kustomize.*_$(OPSYS)_amd64 kustomize
grep /kustomize/v |\
sort | tail -n 1 |\
xargs curl -s -O -L
tar xzf ./kustomize_v*_${OPSYS}_amd64.tar.gz
chmod u+x kustomize

gen-yaml:
Expand Down

0 comments on commit cc73ec2

Please sign in to comment.