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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In