Uploaded image for project: 'OpenShift Migration Toolkit for Containers'
  1. OpenShift Migration Toolkit for Containers
  2. MIG-705

Consider a validation or report that can indicate openshift base images in use by relevant apps

XMLWordPrintable

    • False
    • False
    • ToDo
    • Undefined

      A use case was raised for MTCv1 where a user had apps they were migrating using images that were build from base layer imagestreams only found in the openshift namespace. The following cmd was shared as a way to gather these cases:

      oc get bc --all-namespaces --template='{{range .items}}
      {{"BuildConfig:"}} {{.metadata.namespace}}/{{.metadata.name}} =>
      {{"\t"}}{{"ImageStream(FROM):"}} {{.spec.strategy.sourceStrategy.from.namespace}}/{{.spec.strategy.sourceStrategy.from.name}}
      {{"\t"}}{{"ImageStream(TO):"}} {{.spec.output.to.namespace}}/{{.spec.output.to.name}}
      {{end}}'
      

      With Crane 2, do we want to consider some kind of validation or report that has the ability to flag these images and handle them?

            sseago Scott Seago
            ernelson@redhat.com Erik Nelson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: