Add 4.0.1 to example tests and unpin.

This commit is contained in:
monopole
2021-02-13 13:51:59 -08:00
parent 516ff1fa56
commit c7a504c9cf
4 changed files with 9 additions and 11 deletions

View File

@@ -19,10 +19,8 @@ echo "Installing kustomize ${version}"
rm -f $(go env GOPATH)/bin/kustomize
if [ "$version" == "HEAD" ]; then
(cd kustomize; go install .)
elif [ "$version" == "v3.10.0" ]; then
GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v3@v3.10.0
else
GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v4@v4.0.0
GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/${version}
fi
# TODO: change the label?