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

ztunnel creation fails with error: “metadata.name must be 'default'”

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • OSSM 3.2.0
    • OSSM 3.2.0
    • Sail Operator
    • None

      Issue:
      When attempting to create a ztunnel resource using the provided example, the creation fails with the following error:

      Error "Invalid value: "object": metadata.name must be 'default'" for field "<nil>".

       

      Steps to Reproduce

      1. Open the UI and navigate to the ztunnel creation.
      1. It has the name as example.
      1. Click Create to deploy the ztunnel resource.
      1. The creation fails with the following error:
        Error "Invalid value: "object": metadata.name must be 'default'" for field "<nil>"

      Actual Behavior:
      ztunnel creation fails with a validation error because the metadata name is not default.

      Expected Behavior:
      The ztunnel resource should be created successfully in the default name

      Suggested Fix:
      Update the ztunnel example manifest to use:
       
      {{metadata:name: default

      Cluster version:

      OCP 4.19 and 4.20}}

              mbabushk@redhat.com Maxim Babushkin
              pbajjuri0204 Praneeth Bajjuri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: