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

Host flag #495

Closed
jmorganca opened this issue Oct 20, 2021 · 1 comment · Fixed by #513
Closed

Host flag #495

jmorganca opened this issue Oct 20, 2021 · 1 comment · Fixed by #513
Assignees
Labels
area/cli Issue or PR related to the command-line interface. kind/feature A request or change that improves functional suitability.

Comments

@jmorganca
Copy link
Contributor

Currently if a user uses Infra with two Kubeconfigs – each with a respective registry, they'll have incorrect login prompts when logging in via Infra. We should support a global --registry flag to all commands to force commands which target registry to use.

That way a kubeconfig for a specific registry can fetch tokens via infra tokens create <destination> --registry infra.example.com

@jmorganca jmorganca added kind/feature A request or change that improves functional suitability. area/cli Issue or PR related to the command-line interface. labels Oct 20, 2021
@mxyng
Copy link
Collaborator

mxyng commented Oct 21, 2021

I was hoping to add this as part of the configuration changes. There's a few persistent flags we should add to the command line, e.g. -v, -r registry

@mxyng mxyng self-assigned this Oct 21, 2021
@jmorganca jmorganca changed the title Registry flag Host flag Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Issue or PR related to the command-line interface. kind/feature A request or change that improves functional suitability.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants