WIP: Temporary PR to share POC for CFE-538 / WRKLDS-456 #499
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.
Sharing this PR in order to exchange with the oc-mirror + wrklds + olm teams.
This PR makes changes so that oc-mirror utility
oci:
and treat them the same way asfile:
file:
from the ref, so that renderReference can understand we are refering to an image as a foldererror: error rendering new refs: render reference "/home/skhoury/go/src/github.com/openshift/oc-mirror/rhopid": object '{"apiVersion":"mirror.openshift.io/v1alpha2","kind":"ImageSetConfiguration","mirror":{"additionalImages":[{"name":"registry.redhat.io/ubi8/ubi:latest"}],"helm":{},"operators":[{"catalog":"registry.redhat.io/redhat/redhat-operator-index:v4.11","packages":[{"channels":[{"name":"stable"}],"name":"serverless-operator"}]}],"platform":{"channels":[{"name":"stable-0.2","type":"ocp"}]}},"storageConfig":{"local":{"path":"./"}}}' is missing root schema field