-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
BU Product Work
-
False
-
-
False
-
OCPSTRAT-283 - Deploy OpenShift without external registry in disconnected environments
-
-
A new parameter must be added to the `openshift-install agent create image` to create a tarfile of container images from the release image embedded in the installer. It is recommended that the new parameter flag be `--embed-release-image=true`.
When this is used the agent installer should use oc-mirror to mirror to a file using a command like:
oc-mirror --config ${config} file://${oc_mirror_dir} --ignore-history
where config contains the imageset which would be something like
apiVersion: mirror.openshift.io/v1alpha2
kind: ImageSetConfiguration
archiveSize: 20
storageConfig:
local:
path: metadata
mirror:
platform:
architectures:
- "amd64"
channels:
- name: candidate-${OPENSHIFT_RELEASE_STREAM}
minVersion: $latest_release
maxVersion: $latest_release
type: ocp
additionalImages:
- name: registry.redhat.io/ubi8/ubi:latest