Kustomize version management
curl -L https://raw.githubusercontent.com/corrupt952/kz/main/bin/kz -o kz
chmod u+x kz
mv kz /path/to/bin
kz
command downloads and installs to /usr/local by default, but you may override this location by defining KZ_PREFIX.
export KZ_PREFIX=$HOME/.cache/kz
export PATH=$KZ_PREFIX/bin:$PATH
Download and install a version of Kustomize. If <version>
has already been downloaded, kz
will install from its cache.
kz install v4.4.0
TBD
kz use v3.9.3 # $KZ_PREFIX/bin/kustomize version => v3.9.3
kz use v4.4.0 # $KZ_PREFIX/bin/kustomize version => v4.4.0
TBD
kz exec v3.9.3 build webapp/