Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-4817

[ROSA Wizard] Day 2 operations CLI allows incorrect format values for router-selector flag

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • False
    • False
    • None

      Steps to reproduce:

      1) Create a ROSA cluster using the CLI in interactive mode
      2) Ensure the flags for --default-ingress-excluded-namespaces stage --default-ingress-route-selector baz=quux --default-ingress-namespace-ownership-policy inter-namespace --default-ingress-wildcard-policy WildcardsDisallowed are provided during the cluster creation.
      3) Once the cluster is created and in Ready state, edit the application ingress using the command below
      lamarach@lamarach-mac ~ % rosa edit ingress --route-selector 'test123=' --cluster=nonsts24 h6w0
      I: Updated ingress 'h6w0' on cluster 'nonsts24'

      4) Refresh the Networking tab in the UI and observe the results

      Expected Result

      The CLI should show an error such as "Expected key=value format for label-match" and the edit should not succeed

      Actual Result

      The CLI does not show any error and this value gets updated in the UI.
      When the user clicks on the Edit application ingress button and makes changes to other fields, the Save button is disabled.

        1. Route_selector_ingress.mp4
          18.98 MB
          LAKSHMI SHIVANTHI AMARACHINTHA
        2. Route_Selectors_Review_page.png
          123 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        3. Screenshot 2023-09-05 at 6.25.51 PM.png
          145 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        4. Screenshot 2023-09-05 at 6.40.02 PM.png
          51 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        5. Screenshot 2023-09-05 at 6.40.02 PM-1.png
          51 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        6. Screenshot 2023-09-06 at 11.03.13 AM.png
          89 kB
          LAKSHMI SHIVANTHI AMARACHINTHA

              mlibra@redhat.com Marek Libra
              lamarach@redhat.com LAKSHMI SHIVANTHI AMARACHINTHA
              Archiver:
              rhn-support-sthamilt Stacey Hamilton
              LAKSHMI SHIVANTHI AMARACHINTHA LAKSHMI SHIVANTHI AMARACHINTHA

                Created:
                Updated:
                Resolved:
                Archived: