Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5468

Getting Forbidden for image in a container template when creating a sample app


    • ODC Sprint 197, ODC Sprint 198
    • Low

      Description of problem:

      When creating a new Node.js app (I hit the same problem also with the Go app) in the Dev Sandbox, I sometimes get an error:

      Error "Forbidden: this image is prohibited by policy: this image is prohibited by policy (changed after admission)" for field "spec.template.spec.containers[0].image".

      Prerequisites (if any, like setup, operators/versions):

      Steps to eproduce

      1. Go to Add -> Samples
      2. Choose either Go or Node.js app
      3. Click on create

      Actual results:


      Expected results:

      Apps get created without showing any error

      Reproducibility (Always/Intermittent/Only Once):


      Build Details:

      Additional info:


      The watch log of the Deployments captured during the creation using command oc get deployments --watch-only -o json:

            cjerolim Christoph Jerolimov
            mjobanek Matous Jobanek
            Sanket Pathak Sanket Pathak
            0 Vote for this issue
            5 Start watching this issue