Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configuring Mirroring

Consider the following example for configuring the mirroring.

Code Block
apiVersion: operator.openshift.io/v1alpha1
kind: ImageContentSourcePolicy
metadata:
  name: dpod-cloud-agent-registry-mirror
spec:
  repositoryDigestMirrors:
    - mirrors:
        - icr.io/dpod
      source: icr.io/cpopen

If the Mirroring doesn’t Work

Some OCP environments are not running the Machine Config Operator that allows modifying the nodes configuration files using K8S resources such as the ImageContentSourcePolicy.

...