How to configure /etc/containers/policy.json for a disconnected cluster where imageContentSourcePolicy is configured in OpenShift 4.x?

Solution Unverified - Updated -

Issue

  • How to configure /etc/containers/policy.json for a disconnected cluster where imageContentSourcePolicy is configured in OpenShift 4.x?
  • The pulling of the image from the quay.io failed because the Signature is rejected with the following errors.
Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:xxx...
  Signature for identity mirror.example.com:<port>/<path>:4.x.x-x86_64-<image> is not accepted
Error: Source image rejected: Signature for identity mirror.example.com:<port>/<path>:4.x.x-x86_64-<image> is not accepted

Environment

  • OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content