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, 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