Skip to content

openshift/oc-mirror-url

URL for downloading the OpenShift Mirror CLI tool

This parameter specifies the URL for downloading the OpenShift Mirror tool. This tool is used for mirroring OpenShift container images to a local registry, which is essential for disconnected or restricted network installations.

Requirements

  • URL must point to a valid oc-mirror binary tarball
  • Version must match openshift/version parameter
  • Must be accessible from the provisioning node
  • Must be a Linux binary (tool is run on the provisioning node)

Usage

The default URL template uses the DRP provisioner and openshift/version:

Bash
# Default format
{{.ProvisionerURL}}/files/redhat/openshift/oc-mirror-{{.ParamExpand "openshift/version"}}-rhel9.tar.gz

# Example with version 4.20.8
https://drp.example.com/files/redhat/openshift/oc-mirror-4.20.8-rhel9.tar.gz

Notes: - Required only when using a local/disconnected registry - Tool version should match the cluster version - Used in conjunction with openshift/external-registry parameter - Can be overridden to use a custom mirror or cached binary

Objects that Reference openshift/oc-mirror-url

Objects used by openshift/oc-mirror-url