Configure Image streams with referencePolicy.type:local

Solution Unverified - Updated -

Issue

When Image streams is configured with "referencePolicy.type: local" in order to store images in Openshift Internal registry. It is discovered that when the devs are pushing new images version (Jenkins pipeline) the referencePolicy.type of the image stream is replaced by "source".

Is there a way to define "local" as the default policy ?

Environment

  • Openshift Container Platform(OCP)
    • Openshift v3.9
    • Openshift v3.X

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