Open larsks opened 1 year ago
agree that it'd be great to support this. I thinking making it at the URL level will be a bit tricky though. How about something like:
bin install -f ^kustomize.*
https://github.com/kubernetes-sigs/kustomize`
-f
will act as a filter and will only consider releases where the filter regex matches. Thoughts?
I think that would be a fantastic solution!
@marcosnils -f
acts as --force
in the install cmd.
What about using -e
and --regexp
as the filtering flag?
For example:
bin install -e ^kustomize.* https://github.com/kubernetes-sigs/kustomize
or
bin install --regexp ^kustomize.* https://github.com/kubernetes-sigs/kustomize
SGTM I realized about this afterwards when starting to implement it.
Using -e
and --expr
sounds like a better flag
I would like to use
bin
to install the latest version of kustomize. The releases page hosts multiple packages; thekustomize
releases are tagged withkustomize/<version>
.I can install a specific version of
kustomize
by running something like:But I don't always know the latest version. I'd like to be able to run:
And have it install the latest release matching that tag.