-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
None
-
False
The MultipleClusterOperatorsIsolatedST contains two STs which ru multiple CO instances in parallel. The testKafkaCCAndRebalanceWithMultipleCOs was running both of them in the same namespace. During the work on the leader election, I modified this test to run the operators in different namespaces (but watch the same namespace where the test resources are created). The original way of running both COs in the same namespace did not worked out of the box because they share the same Lease lock with their default configuration, so this modification allowed the test to pass.
If it is important for this test to run both CO instances in the same namespace, the test will need further improvement and during the CO installation, it will need to:
- Modify the Lease name in the operator configuration (Env. var)
- Modify the RBAC file to allow it work with the new Lease name (Cluster Role modification)