You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RFE: be able to specify multiple secrets for an image import #9758
This was discovered during adding tests from #9730 (comment). We're trying to access internal docker registry, by default we generate secrets to access that registry for every project we create (you can't even remove them, they will be recreated). I'm creating additional secret using my user data, since it has access to both projects. Now I have two secrets, which will be considered appropriate for that registry. With current credentials implementation one will be picked randomly.
The proposed solution is:
add retry mechanism for that cases
allow users specify which secret to use at IS level
First is required, the latter would be a nice to have.
On the node, we walk all applicable secrets until one works (Docker does
this as well). Importer and registry pull through ultimately have to do
the same. We may need a cache in pull through to identify likely candidate
secret names (so we can prefer them).
On Fri, Jul 8, 2016 at 5:42 PM, Maciej Szulik [email protected]
wrote:
This was discovered during adding tests from #9730 (comment) #9730 (comment).
We're trying to access internal docker registry, by default we generate
secrets to access that registry for every project we create (you can't even
remove them, they will be recreated). I'm creating additional secret using
my user data, since it has access to both projects. Now I have two secrets,
which will be considered appropriate for that registry. With current
credentials
// docker 1.9 saves 'docker.io' in config in f23, see https://bugzilla.redhat.com/show_bug.cgi?id=1309739
ifvalue=="index.docker.io" {
glog.V(5).Infof("Being asked for %s, trying %s for legacy behavior", target, "docker.io")
Activity
smarterclayton commentedon Jul 8, 2016
On the node, we walk all applicable secrets until one works (Docker does
this as well). Importer and registry pull through ultimately have to do
the same. We may need a cache in pull through to identify likely candidate
secret names (so we can prefer them).
On Fri, Jul 8, 2016 at 5:42 PM, Maciej Szulik [email protected]
wrote:
mfojtik commentedon Aug 23, 2017
@bparees another trello card candidate, @soltysh can brief you in details.
bparees commentedon Aug 23, 2017
trello'd https://trello.com/c/sSj0DAlK