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

No Project (namespace) validation in OperatorGroups YAML edit from console

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      -Dummy values are accepted (Randon names or Namespace wich is not present) for `targetNamespaces` in `Operatorgroups` from RHOCP Console.
      - Same thing is not possible via oc command line when we use 
      ~~~
      $ oc edit og <OperatorGroups Name>
      ~~~ 
      - In Installed operator we will get management namespace as `2 Namespaces`
      - Operator will fail with 'error: MultiNamespace InstallModeType not supported, cannot configure to watch 2 namespaces'

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

       

      How reproducible:

      Yes, tests are done on `3scale API Management` application.

      Steps to Reproduce:

      1. Install `3scale API Management`  application on new test project from OperatorHub in Console.
      2. Navigate to Console -> Installed operator -> Select test project -> Click on `3scale API Management` -> Scroll Down -> Click on test-XXYYZZ OperatorGroups -> YAML   
      3. add new dummy namespece in `spec.targetNamespaces` as follow
      ~~~
      spec:  
        targetNamespaces:    
        - test    
        - t1
      ~~~
      4. Click on  `Save` then `Reload` 

      Actual results:

      operatorGroups manifest will be updated wethout any error

      Expected results:

      Any new randon Namesapce addition in `operatorGroups` must fail with proper validation error wnen we click on save  

      Additional info:

       

              rhn-engineering-rhamilto Robb Hamilton
              rhn-support-mdeore Mayur Deore
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: