-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
4.11.z
-
Moderate
-
None
-
False
-
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: