Skip to content
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

image/reference: support parsing partial repo names #914

Merged

Conversation

ecordell
Copy link
Contributor

@ecordell ecordell commented Oct 7, 2020

This is useful in mirroring contexts, where a set of images may be mirrored into the same registry, or into the same namespace of a target.

For example, oc adm catalog mirror allows you to mirror a catalog into a specific registry or location, so the destination for a mirror can be localhost:5000 or quay.io or quay.io/my-namespace or docker.io/my/nested/org etc.

Unlike oc image mirror, the source is a large list of images instead of only one. Adding support for parsing partial repository names makes it easier to use TypedImageReferences in oc adm catalog mirror

@ecordell ecordell force-pushed the parse-partial-repo-name branch 2 times, most recently from 5cb5d19 to e8f1a14 Compare October 7, 2020 17:34
this is useful in mirroring contexts, where a set of images may be
mirrored into the same registry, or into the same namespace of a target
@bparees
Copy link
Contributor

bparees commented Oct 8, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 8, 2020
@sttts
Copy link
Contributor

sttts commented Oct 12, 2020

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, ecordell, sttts

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2020
@openshift-merge-robot openshift-merge-robot merged commit 4eedda0 into openshift:master Oct 12, 2020
@estroz
Copy link

estroz commented Sep 3, 2021

/cherry-pick release-4.6

@openshift-cherrypick-robot

@estroz: new pull request created: #1198

In response to this:

/cherry-pick release-4.6

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants