You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a context set called "foo" and I do osc project foo, I should go into that context. The current code does not do that - I'm pretty sure I added that as a comment on that pull request.
@smarterclayton Sounds good, pretty much what I was thinking about precedence. Let me check how subsequent commands will behave when switching to a ctx without calling master and that context behaves like session expired, context does not make a namespace explicit, etc. But should be good.
@smarterclayton BTW I'm finding a little confusing how the naming logic works when saving to config files - clusters named localhost:8443 and contexts named localhost:8443-ffranz. I think I'll change it to replace : and . and make it name: localhost-8443 for example. Is it just me?
I do like that better. Maybe the first server should have no port, but later ones should have (choose context name in order of ease of use, with more specificity if someone claimed the general name).
@smarterclayton BTW I'm finding a little confusing how the naming logic works when saving to config files - clusters named localhost:8443 and contexts named localhost:8443-ffranz. I think I'll change it to replace : and . and make it name: localhost-8443 for example. Is it just me?
—
Reply to this email directly or view it on GitHub.
@smarterclayton Sounds good, pretty much what I was thinking about precedence. Let me check how subsequent commands will behave when switching to a ctx without calling master and that context behaves like session expired, context does not make a namespace explicit, etc. But should be good.
—
Reply to this email directly or view it on GitHub.
Activity
fabianofranz commentedon Mar 20, 2015
@smarterclayton When doing
osc project <something>try to use a context first, correct? In case you have a ctx and a project with the same name.smarterclayton commentedon Mar 20, 2015
Precedence (i think):
User says
osc project fooWhen you switch projects, display the context name AND project name if they differ. Also list the server and user.
If you pass osc projects -a or --all, list all contexts (do the same display thing as above).
Basically, "projects" switches contexts based on the name of projects.
----- Original Message -----
fabianofranz commentedon Mar 20, 2015
@smarterclayton Sounds good, pretty much what I was thinking about precedence. Let me check how subsequent commands will behave when switching to a ctx without calling master and that context behaves like session expired, context does not make a namespace explicit, etc. But should be good.
fabianofranz commentedon Mar 20, 2015
@smarterclayton BTW I'm finding a little confusing how the naming logic works when saving to config files - clusters named
localhost:8443and contexts namedlocalhost:8443-ffranz. I think I'll change it to replace:and.and make itname: localhost-8443for example. Is it just me?smarterclayton commentedon Mar 20, 2015
I do like that better. Maybe the first server should have no port, but later ones should have (choose context name in order of ease of use, with more specificity if someone claimed the general name).
smarterclayton commentedon Mar 20, 2015
We need to have stuff upstream for error handling, I want to see that happen independently.
fabianofranz commentedon Mar 20, 2015
PR opened: #1405. See comments.
Not yet addressing the naming logic change.
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Rename Service[Broker|Class|Plan]Status => ClusterService... (openshi…