mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Tweak install.
This commit is contained in:
@@ -10,7 +10,8 @@ are available for manual download on the [release page].
|
||||
To do a quick download, run:
|
||||
|
||||
```
|
||||
curl https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh | sh
|
||||
curl -s "https://raw.githubusercontent.com/\
|
||||
kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | sh
|
||||
```
|
||||
|
||||
This [script]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
where=$PWD
|
||||
if [ -f $where/kustomize ]; then
|
||||
echo "kustomize already exists. Try: rm kustomize"
|
||||
echo "A file named kustomize already exists (remove it first)."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -38,7 +38,7 @@ curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases |\
|
||||
cut -d '"' -f 4 |\
|
||||
grep /kustomize/v |\
|
||||
sort | tail -n 1 |\
|
||||
xargs curl -O -L
|
||||
xargs curl -s -O -L
|
||||
|
||||
tar xzf ./kustomize_v*_${opsys}_amd64.tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user