Repository navigation
Conversation
For 'oc adm release' commands: 0. If user passes --icsp-file path, fail if no valid sources found from the file 1. Try the current flow of lookup image from any underlying image references. If this fails, go to 2. 2. Try to gather image source info from ImageContentSourcePolicy from cluster, if this fails go to 3. 3. Set the registry/repo/name to be that of user-given release rather than its refs. If image not found, return the original error from 1. For 'oc image' commands: Do not implicitly check alternative image sources. * If user passes --icsp-file path, fail if no valid sources found from the file * If user passes --lookup-cluster-icsp, fail if no valid sources found from the cluster * Try the current flow of lookup image from any underlying image references. When working with mirrored release payloads, a release from a mirrored registry, mylocalregistry/ocp/release:4.5.0-0.nightly-2020-04-18-093630 mirrored from registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-04-18-093630 - Both reference 'quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:2eb0a51...'. In case of disconnected, oc will now use 'mylocalregistry/ocp/release' if passed, instead of 'quay.io/openshift-release-dev/ocp-v4.0-art-dev' _or_ it will succeed with 'quay.io/openshift-release-dev/ocp-v4.0-art-dev' if a matching ICSP is found in cluster, or get image source information from an ICSP file passed.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sallyom The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sample output of mirroring
sample cmds to test extracts (logging currently at v(2) but will increase)
pull-secret has quay creds+localhost, pull-secret-local only has localhost creds:
Sample output of
oc image extract: