-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
1
-
False
-
-
False
-
Yes
-
RHOAM Sprint 32
WHAT
CRO seems to be missing the leader election (not sure for how long that is the case)
We need to ensure that the leader election is set in order to avoid possible upgrade issues.
More info in doc: https://docs.openshift.com/container-platform/4.6/operators/operator_sdk/osdk-leader-election.html
HOW
AFAIK it's a matter of configuring the deployment args via config; This is how it's done in RHOAM: https://github.com/integr8ly/integreatly-operator/blob/master/config/manager/manager.yaml#L25
We need to add same to: https://github.com/integr8ly/cloud-resource-operator/blob/master/config/manager/manager.yaml#L17
TESTS
- install via olm or locally and confirm that operator attempts to establish leader election
DONE
CRO uses a leader election mechanism.