Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8243

Improper ImageStream definitions in archetypes arquillian tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: FIS 2.0
    • Fix Version/s: fuse-7.0
    • Component/s: FIS-Quickstarts
    • Labels:
      None
    • Sprint:
      Fuse 7.0 Sprint 18

      Description

      spring-boot-camel-amq-archetype/src/test/resources/amq.json contains

              {
                  "kind": "ImageStream",
                  "apiVersion": "v1",
                  "metadata": {
                      "name": "jboss-amq-62"
                  },
                  "spec": {
                      "dockerImageRepository": "registry.access.redhat.com/jboss-amq-6/amq62-openshift",
                      "tags": [
                          {
                              "name": "1.3"
                          }
                      ]
                  }
              }
      

      which is wrong, as it doesn't guarantee the 1.3 tag being imported. (openshift will by default import only 5 latest tags from the specified dockerImageRepository )

      the proper way to define this image stream would be:

      {
                  "kind": "ImageStream",
                  "apiVersion": "v1",
                  "metadata": {
                      "name": "jboss-amq-62"
                  },
                  "spec": {
                      "tags": [
                          {
                              "name": "1.3",
                              "from": {
                                  "kind": "DockerImage",
                                  "name": "registry.access.redhat.com/jboss-amq-6/amq62-openshift:1.3"
                              }       
                          }
                      ]
                  }
              }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  maschmid Marek Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: