Skip to content
  • Jessica Yuen's avatar
    Init env metadata from provided context · e3e35d30
    Jessica Yuen authored
    `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`.
    e3e35d30