-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add azureaccesskeyrequest approval #10
Conversation
pkg/cmds/root.go
Outdated
@@ -39,7 +39,7 @@ func NewRootCmd() *cobra.Command { | |||
// a.k.a. change all "_" to "-". e.g. glog package | |||
flags.SetNormalizeFunc(cliflag.WordSepNormalizeFunc) | |||
|
|||
kubeConfigFlags := genericclioptions.NewConfigFlags(true) | |||
kubeConfigFlags := genericclioptions.NewConfigFlags(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If set to true, will use persistent client config and propagate the config to the places that need it, rather than loading the config multiple times.
We had to change it because it was taking the namespace as "default" instead of the namespace we provided through -n flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.