Open tpapaioa opened 3 months ago
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Version
What happened?
oc-mirror
doesn't use path-based credentials in config.json as expected.We are using https://github.com/openshift/appliance to create an appliance installation image, with a pull secret specified for a private image on quay.io:
With the same
pullSecret
value in~/.docker/config.json
, I can pullquay.io/my_org/my_image:latest
withpodman
, for example. Butoc-mirror
fails when trying to mirror the image in the installation image build:From the container's
oc-mirror
log:What did you expect to happen?
oc-mirror
and the appliance builder should use the appropriate token when mirroring images.How to reproduce it (as minimally and precisely as possible)?
I have not tried to construct a minimal reproducer without using the appliance builder, but see above for my reproducer steps. In the example config given,
quay.io/my_org/my_image:latest
is a private image and the corresponding pull secret appears with the matching key"quay.io/my_org/my_image"
.Anything else we need to know?
References