acorn-io/runtime

acorn ps -A should includ the project in the output

cjellick opened this issue · 1 comments

I have no idea what project the apps are coming from. I should. Current sample output:

$ acorn ps -A
NAME              IMAGE                          COMMIT         CREATED   ENDPOINTS                                                   MESSAGE
blue-resonance    ghcr.io/acorn-io/hello-world   afc94afd9684   13d ago   http://webapp-blue-resonance-6223ac1f.local.oss-acorn.io    OK
frosty-dream      ghcr.io/acorn-io/hello-world   afc94afd9684   13d ago   http://webapp-frosty-dream-52c2cc1b.local.oss-acorn.io      OK
sparkling-shape   ghcr.io/acorn-io/hello-world   afc94afd9684   13d ago   http://webapp-sparkling-shape-924402be.local.oss-acorn.io   OK
  1. Logged in to prod using acorn login
  2. acorn ps -A when in the context of a local project results in listing only apps from acorn project which is in prod (it does not list apps from other projects in prod or any project in local cluster).
%acorn project use kubeconfig/acorn 
 % acorn ps -A                        
NAME      IMAGE                           COMMIT         CREATED    ENDPOINTS                                 MESSAGE
kk3       sangeetha/myfirstacorn:v0.0.1                  2d3h ago   https://<endpoint>  OK
ddd       ghcr.io/acorn-io/hello-world    afc94afd9684   8d ago     https://<endpoint>  OK
rrr       ghcr.io/acorn-io/hello-world    afc94afd9684   9d ago     https://<endpoint>    OK
 % acorn apps 
NAME      IMAGE          COMMIT    CREATED   ENDPOINTS                                        MESSAGE
tt        d0f2d2d2b544             22m ago   http://<endpoint>    OK
  1. acorn ps -A when in the context of a prod project , results in listing only apps in local projects.
%acorn project use acorn
% acorn ps -A    
NAME                  IMAGE          COMMIT    CREATED   ENDPOINTS                                        MESSAGE
kubeconfig/acorn/tt   d0f2d2d2b544             23m ago   http://<endpoint>  OK
kubeconfig/test1/tt   d0f2d2d2b544             22m ago   http://<endpoint>  OK
 % acorn apps     
NAME      IMAGE                           COMMIT         CREATED    ENDPOINTS                                 MESSAGE
kk3       sangeetha/myfirstacorn:v0.0.1                  2d3h ago   https://<endpoint>   OK
ddd       ghcr.io/acorn-io/hello-world    afc94afd9684   8d ago     https://<endpoint>  OK
rrr       ghcr.io/acorn-io/hello-world    afc94afd9684   9d ago     https://<endpoint>  OK