-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow bring-your-own revision name #276
Comments
why the "prefix" variants? It's not a prefix w.r.t. naming the revision. Of those I like
re: prefix... what's interesting is that if we don't ask for the full name, if anything it would be
We just need to make sure that whatever we use it'll be an obvious mapping to the revision name in the traffic section.
I can't decide if it's really helpful to not force them to duplicate the KnService name over and over, or hiding too much. But it that does feel nicer than something like: So far, I like this one the best: |
Think about |
yup - wasn't questioning it in lists like "revision list" - was just wondering about it on the cmd line for specifying traffic or revision name. E.g. |
Do y'all think it'd be a good idea to have "anywhere a revision name is needed, you can specify only the part after |
Yes, but only when the revision trunk name is specified on the very same command line, too, and you can still use the full revision name and there is no ambiguity. In the situation above we have to probe for allowed names anyway (like whether you specified a tag instead of a revision name if we want to avoid the confusing triple-spec of traffic targets like suggested in @navidshaikh proposal), so I would be fine if we have clearly defined and easy to understand probe strategy. As we should always support the full revision name anyway, I would start with that and then decide later whether we want to allow a kind of shortcut. |
Perhaps but I think we need to look at each case individually to see if it makes sense and feels natural. The case I mentioned above would qualify for me. @rhuss's idea of supporting both seems reasonable - we'd just need to watch for cases like |
Fixed with #282 |
In what area(s)?
Supported parameters
Describe the feature:
v1beta1 style (even in v1alpha1) allows "bring your own" revision names. Let's allow users to bring 'em in service creation .
--revision-name
or--revision-name-prefix
(or even--name-prefix
) can be the name of the flag.The text was updated successfully, but these errors were encountered: