Skip to content
Snippets Groups Projects
Commit 6661d25b authored by Jessica Yuen's avatar Jessica Yuen
Browse files

Remove flags already defined by clientgo

No need to redefine these flags as they are already specified in the
clientgo flag bindings.
parent 3c9e07e9
No related branches found
No related tags found
No related merge requests found
......@@ -47,21 +47,9 @@ func init() {
// TODO: We need to make this default to checking the `kubeconfig` file.
envAddCmd.PersistentFlags().String(flagAPISpec, "version:v1.7.0",
"Manually specify API version from OpenAPI schema, cluster, or Kubernetes version")
envAddCmd.PersistentFlags().String(flagEnvNamespace, "",
"Specify namespace that the environment cluster should use")
envAddCmd.PersistentFlags().String(flagEnvServer, "",
"Specify the address and port of the Kubernetes API server")
envAddCmd.PersistentFlags().String(flagEnvContext, "",
"Specify the context in your kubecfg file that this environment should use")
envSetCmd.PersistentFlags().String(flagEnvName, "",
"Specify name to rename environment to. Name must not already exist")
envSetCmd.PersistentFlags().String(flagEnvServer, "",
"Specify the address and port of the Kubernetes API server")
envSetCmd.PersistentFlags().String(flagEnvNamespace, "",
"Specify namespace that the environment cluster should use")
envSetCmd.PersistentFlags().String(flagEnvContext, "",
"Specify the context in your kubecfg file that this environment should use. This will update the server address for your environment")
}
var envCmd = &cobra.Command{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment