-
Notifications
You must be signed in to change notification settings - Fork 101
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
rad init
prompts for a kube context but doesn't offer a --context
cli arg
#4058
Comments
Thanks for the bug report!
Also if you're referring to the new |
rad env init
prompts for a kube context but doesn't offer a --context
cli argrad init
prompts for a kube context but doesn't offer a --context
cli arg
I think that here we need to consider that this commands behavior is inconsistent with the rest of the rad commands. I am not sure I agree with the premise of having commands that are not script-friendly. In any case the current state is a mix of flags and no flags so if we want to remove support for flags on |
This Feature tracks the removal of flags from Closing this Bug as duplicate. |
I just spent more than half an hour trying to understand how to call Long story short, it would be helpful to mention this in the getting-started guide and in the CLI reference page for |
Great point, thanks for the recommendation @GaTechThomas! Created an issue to track: radius-project/docs#1017 |
Bug information
When you run
rad init
it will prompt for a kube context selection, this blocks you from scripting with the rad cli since there is no way for you to answer this prompt with current cli flags. Adding a--context
flag may help unblockSteps to reproduce (required)
rad init
rad init --help
to find a flag you can use to override this promptObserved behavior (required)
No such flag exists
Desired behavior (required)
add a
--context
flagWorkaround (optional)
System information
rad Version (required)
Operating system (required)
Additional context
AB#4243
The text was updated successfully, but these errors were encountered: