acorn-io/runtime

Local Install - Switch to `local` project automatically on install.

sangee2004 opened this issue · 0 comments

acorn version - v0.10.0-rc2-35-g3cf6c107+3cf6c107

Steps to reproduce the problem:

  1. Install acorn using acorn -j local ps
  2. Once acorn is installed , try to do any acorn commands. User is presented with the following error message:
    acorn run -n mytestwp
    ✗ ERROR: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Expected Behavior:
Since user will be allowed to work only with local project , user should be put into local project context automatically on local install.

Also , even when we switch to local project , current project context is not shown which is confusing

# acorn project
NAME      DEFAULT   REGIONS
# acorn project use local
# acorn project
NAME      DEFAULT   REGIONS