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

Improper ImageStream definitions in archetypes arquillian tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0
    • FIS 2.0
    • FIS-Quickstarts
    • None
    • % %
    • 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"
                              }       
                          }
                      ]
                  }
              }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: