mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Filter out pluginator in install curl script.
This commit is contained in:
@@ -16,10 +16,12 @@ opsys=darwin
|
||||
opsys=windows
|
||||
opsys=linux
|
||||
|
||||
curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases/latest |\
|
||||
curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases |\
|
||||
grep browser_download |\
|
||||
grep $opsys |\
|
||||
cut -d '"' -f 4 |\
|
||||
grep /kustomize/v |\
|
||||
sort | tail -n 1 |\
|
||||
xargs curl -O -L
|
||||
tar xzf ./kustomize_v*_${opsys}_amd64.tar.gz
|
||||
./kustomize version
|
||||
|
||||
Reference in New Issue
Block a user