Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-1185

ServiceMeshExtension generates ImageStreamImport with invalid name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • OSSM 2.2.0
    • None
    • None
    • None
    • OSSM 2.2 - 3

    Description

      When a ServiceMeshExtension is deployed, the "wasm-cacher-basic-8c986c75-tk9cq" pod creates a ImageStreamImport that have to comply to the regular expression: "[a-z0-9](?:[._-][a-z0-9])*" 

      In some cases, if the name of the WASM image contains a '-' in the 8 position, the name doesn't comply, but the user doesn't receive a correct message error. It only receives the following message: 

      2022-03-07T14:36:46.022728Z    error    worker    failed to pull image "quay.io/dborrego/service-mesh-wasm-go:0.1.1": failed to create ImageStreamImport: ImageStreamImport.image.openshift.io "ossm-extension-service-f5f18ac4" is invalid: metadata.name: Invalid value: "ossm-extension-service-f5f18ac4": must match "[a-z0-9](?:[._-][a-z0-9])*"

      Attachments

        Activity

          People

            Unassigned Unassigned
            dborrego@redhat.com David Borrego (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: