Init env metadata from provided context
`ks env add myenv --context=dev` will initialize the environment URI and namespace based on the context `dev`, as specfied in the kubeconfig file. The same applies for `ks init foo --context=dev`. If both the context and uri argument is not provided, the current context is used. This change will also remove uri as a mandatory arg in `ks env add`. The uri will be moved to a flag. It cannot be used at the same time as `context`.
Please register or sign in to comment