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

XMLWordPrintable

    • 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.

            mlibra@redhat.com Marek Libra
            lamarach@redhat.com LAKSHMI SHIVANTHI AMARACHINTHA
            LAKSHMI SHIVANTHI AMARACHINTHA LAKSHMI SHIVANTHI AMARACHINTHA
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: