Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-43550

[CLI Manager Operator] - Validation for platform should be done.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.17.0
    • cli-manager
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

        Currently when user specifies any value for the platform it just works. It could be invalid too.
          

      Version-Release number of selected component (if applicable):

           [knarra@knarra-thinkpadx1carbon7th aws]$ oc get csv -n openshift-cli-manager-operator
      NAME                          DISPLAY       VERSION   REPLACES   PHASE
      cli-manager-operator.v0.1.0   CLI Manager   0.1.0                Succeeded
      
          

      How reproducible:

           Always
          

      Steps to Reproduce:

          1. Install ocp cluster, cli-manager
          2. Add plugin and while adding platform provide the value as `invalid`
          3.
          

      Actual results:

          I see that plugin gets installed successfully with no errors
          

      Expected results:

          Since there is no platform called `invalid` i expect plugin to throw error , any value other than in the form of os/arch should throw error i believe.
          

      Additional info:

      
          

              aguclu@redhat.com Arda Guclu
              knarra@redhat.com Rama Kasturi Narra
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: