Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2006

ImageStreamTag definitions must use from element to ensure the tag is imported

XMLWordPrintable

    • CLOUD Maintenance Sprint 11

      Currently, we do not define any repository information for image stream tag definitions and rely on the import mechanism discovering the tags through the dockerImageRepository field. The problem is that this is not guaranteed to import any of the tags listed in the image stream, which could have the effect of breaking the templates (because the tag does not exist within OpenShift).

      The solution is to define a from element on each tag for each image stream, e.g. https://github.com/openshift/origin/blob/master/examples/image-streams/image-streams-rhel7.json#L43-L46. Note, for our images, we will also need to specify the tag, as the default is "latest."

      We should also remove the dockerImageRepository field from the image streams as the tags that will be imported will be random, i.e. nondeterministic.

              wdecoste1@redhat.com William Decoste (Inactive)
              rcernich1 Rob Cernich
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: