Skip to content
  • Jessica Yuen's avatar
    Introduce namespace to environments · 38f35db4
    Jessica Yuen authored
    Environments currently have the concept of a server URI, but it is
    ambiguous which cluster namespace to use.
    
    This commit will introduce the concept of namespaces to the env
    commands.
    
    For example,
    `kubecfg env add staging http://mock-staging-uri \
     --namespace=staging-namespace`
    `kubecfg env set staging --namespace=staging-namespace`
    
    The default environment will use the namespace of the default context.
    
    This commit will also update commands that take the <env> arg such as
    `apply` to make use of the env namespace, if specified.
    38f35db4