Open brightzheng100 opened 4 weeks ago
Wait, how about image upload?
$ oc image mirror \
--registry-config=${LOCAL_SECRET_JSON} \
--from-dir=${REMOVABLE_MEDIA_PATH} \
"file://openshift/release:${OCP_RELEASE}*" \
${LOCAL_REGISTRY}/${LOCAL_REPOSITORY} \
--skip-missing
Currently, as per the doc, there is a need to generate the
imageContentSources
with command like:So that we can have something like:
And then download the OpenShift cluster images with another command:
So question: Is it possible to use
oc-mirror
toimageContentSources
YAML section forinstall-config.yaml
?oc adm release mirror
?Look forward to your advice. Thank you!