Skip to content

mbp-1038: Add documentation for installation in a disconnected enviroment - #175

Open
mlorenzofr wants to merge 1 commit into
validatedpatterns:mainfrom
mlorenzofr:disconnected
Open

mbp-1038: Add documentation for installation in a disconnected enviroment#175
mlorenzofr wants to merge 1 commit into
validatedpatterns:mainfrom
mlorenzofr:disconnected

Conversation

@mlorenzofr

Copy link
Copy Markdown
Collaborator

Add disconnected installation documentation and tooling for the Layered Zero Trust Validated Pattern.

  • Add docs/disconnected/README.md covering prerequisites, internal PKI trust, staged oc mirror v2 mirroring, Git mirroring, registry/Helm configuration, and pattern deployment via PATTERN_DISCONNECTED_HOME.
  • Add four split ImageSetConfiguration files under docs/disconnected/mirror/ (releases, operators, images, unsigned) so mirroring can be run in smaller, retryable stages.
  • Add scripts/gen-imageset-config.py to generate mirror configs from a live ZTVP cluster (OCP version, operator subscriptions, workload images, and Validated Patterns Helm chart OCI artifacts).

@sabre1041 sabre1041 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good. Thanks @mlorenzofr for putting this integration together. One small comment related to the internal registry. Otherwise, once addressed, we can look to integrating this enhancement into the repository.

oc create configmap internal-registry-ca -n openshift-config \
--from-file=registry.internal.example.com=/etc/pki/ca-trust/source/anchors/example-ca.pem

oc patch image.config.openshift.io/cluster --type=merge \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only needed when using the OpenShift internal registry. Might be good to denote this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we also need to import the certificates if an internal PKI is being used to encrypt traffic in Git or OCI registry services, even if they are outside the OpenShift cluster.

I've added a little more information in this section to make it clearer.

Comment thread docs/disconnected/README.md
Comment thread docs/disconnected/README.md Outdated
Comment thread docs/disconnected/mirror/operators-imageset-config.yaml Outdated

@p-rog p-rog left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just shared a few suggestions. In general it looks good to me.

…nment

Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants