Imagestreams references are showing IPs instead of "docker-registry.default.svc" in OpenShift

Solution Verified - Updated -

Issue

Imagestreams resolve to the internal registry IP, rather than the hostname on s2i builds after upgrading the cluster. Example:

$ oc describe is app-example
Name:                             app-example
Namespace:                        app-namespace
[...]
Tags:                                      1

1.0
  tagged from app-namespace/buildah-base@sha256:8b4e78a88359d8b477e6d946bba34b655a562a10fe9c89a096f873fa2f6d36b1

  * 172.30.1.100:5000/app-namespace/buildah-base@sha256:cf97cfc9d2c9bb4f9da5785a35692a8e0818fe1c43018981dcec909dbe2b42bb
      About a minute ago

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.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