Image Policy is not working as expected

Solution Unverified - Updated -

Issue

If it follows Image Policy example from this doc, the testing commands from the doc are working well. However, apart from those commands, any pods can not deploy using default templates with following error message:

Failed create | Error creating: Pod "" is invalid: spec.containers[0].image: Forbidden: this image is prohibited by policy

Environment

OpenShift Container Platform
- 3.5
- 3.6

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