Skip to content
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

jx login should run jx team after its completed to switch namespace #1676

Closed
jstrachan opened this issue Sep 13, 2018 · 1 comment · Fixed by #1718
Closed

jx login should run jx team after its completed to switch namespace #1676

jstrachan opened this issue Sep 13, 2018 · 1 comment · Fixed by #1718
Assignees

Comments

@jstrachan
Copy link
Member

so that the user has their kubectl and jx setup to point to the dev namespace

@jstrachan
Copy link
Member Author

actually it might be nice to add an optional --team foo argument to jx login so that if specified would switch to that teams namespace (so like typing jx team foo afterwards.

e.g.

jx login --team foo https://my-magic-url

then 1 command that sets up your ~/.kube/config and switches to the teams namespace in one go. Leaving off --team is fine too, which if there's N teams in that cluster, you'd get a pick list etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants