-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to mirror images using pull secret with path-based keys #890
Comments
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
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
The text was updated successfully, but these errors were encountered: