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

[ER1] Operator fails to create image stream due to unquoted name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-7.5-CR1
    • fuse-7.5-GA, fuse-7.5-ER1
    • Fuse Online
    • Fuse 7.5 Sprint 53 - Blockers

      docker run --entrypoint syndesis-operator -v $HOME/.kube:/tmp/kube:z registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-online-operator:1.5-4 install operator --config /tmp/kube/config -n syndesis                                           
      error: Object:
        apiVersion: image.openshift.io/v1
        kind: ImageStream
        metadata:
          labels:
            app: syndesis
            syndesis.io/app: syndesis
            syndesis.io/component: syndesis-operator
            syndesis.io/type: operator
          name: syndesis-operator
          namespace: syndesis
        spec:
          tags:
          - from:
              kind: DockerImage
              name: fuse7/fuse-online-operator:1.5
            importPolicy:
              scheduled: true
            name: 1.5
      : ImageStream in version "v1" cannot be handled as a ImageStream: v1.ImageStream.Spec: v1.ImageStreamSpec.Tags: []v1.TagReference: v1.TagReference.Name: ReadString: expects " or n, but found 1, error found in #10 byte of ...|},"name":1.5}]}}
      |..., bigger context ...|r:1.5"},"importPolicy":{"scheduled":true},"name":1.5}]}}
      |...
      

      the name: 1.5 is interpreted as float instead of string because it is not quoted

            asmigala@redhat.com Andrej Smigala
            avano@redhat.com Andrej Vano
            Stefan Veres Stefan Veres
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: