-
Notifications
You must be signed in to change notification settings - Fork 80
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
RFE Ability to alter the path of the oc-mirror stateful image on push #563
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 |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Version
Latest
What happened?
I'm mirroring the content into Quay. I'd like a exact match on the namespace/image combination for example if I'm mirroring registry.redhat.io/openshift-gitops-1/argocd-rhel8 then I'd like the path on Quay to be quay.example.com/openshift-gitops-1/argocd-rhel8.
I would use something like oc-mirror --from=. quay.example.com to perform the mirror.
The issue arises when oc-mirror attempts to verify/find the oc-mirror state container. As this will put use the path quay.example.com/oc-mirror as the location which isn't allowed in Quay due to the lack of namespace.
So to get around this the mirror command must be something like
oc-mirror --from=. quay.example.com/mirror to perform the mirror. This would then put the path of the container to quay.example.com/mirror/openshift-gitops-1/argocd-rhel8.
This isn't ideal as we're going to have a second batch of oc-mirroring being executed by using this Quay registry as a mirror of registry.redhat.io (think disconnected within disconnected within disconnected) all using quay.example.com as a proxy to registry.redhat.io.
What did you expect to happen?
Ideally I'd be able to specify a exact path for where I'd like the oc-mirror stateful container to go such as
oc-mirror --from=. --stateful-location=mirror/oc-mirror quay.example.com quay.example.com.
The text was updated successfully, but these errors were encountered: