app-registry / appr-helm-plugin

Apache License 2.0
56 stars 15 forks source link

'helm list' doesn't seem to filter by user #19

Open gtaylor opened 7 years ago

gtaylor commented 7 years ago
$ helm registry list -u ant31 quay.io
<full list of repos instead of just ant31's>
ant31 commented 7 years ago

@gtaylor you can use the -o;

helm registry list -o ant31 quay.io

but from you suggestion we will replace that on the next release by

helm registry list quay.io/ant31 
ant31 commented 7 years ago

the -u isn't implemented on quay.io.

It should show all repositories a user have explicitly access to (at least read permission) include privates if the request-user have perm too.

venezia commented 7 years ago

It doesn't seem to list all repositories that I may have access to. I created a few public application repositories but they do not appear in the list.

helm registry list quay.io|grep venezia

returns nothing

ant31 commented 7 years ago

@venezia are you sure they are public. By default it's private and you need to set it to public.

helm registry list quay.io without option returns only the 'first' page, it the future it will probably be ordered by 'highlight' or number of downloads.

You can use: helm registry list quay.io --search operator (it throws a 500 if there is no result, it's going to be fixed this week)

Private repos are never returned yet.

venezia commented 7 years ago

You're right - it is a private repo issue. Thanks. Will private repos eventually be surfaced?

ryanwalls commented 7 years ago

@ant31 How do I see private repos? Related... how would I make a repo public?

ant31 commented 7 years ago

@ryanwalls

  1. You can't 'list' private repos yet
  2. make a repo public: the command is missing

By default apps are private on quay.io, to switch you can go on quay.io in the setting tab of your application

ryanwalls commented 7 years ago

@ant31 Thanks for the clarification. To further clarify, there is no way to see what private repos you have, even from the quay.io UI?

ant31 commented 7 years ago

@ryanwalls I was speaking from the CLI, also those features (in the cli) will be added

On quay.io you can see all your private/public repo: on the page https://quay.io/application/