Skip to content

Commit 37a7e5b

Browse files
committed
feat: add minimum count for DualReplica
bumped ocp/api to pull in DualReplica control plane topology type, minimum count for masters is 2 under DualReplica Signed-off-by: ehila <[email protected]> test: update unit test to use time.Duration library-go crypto MakeSelfSignedCA and MakeServerCert were updated to use time.Duration instead of days, updating unit test to reflect this change Signed-off-by: ehila <[email protected]>
1 parent 48d57d7 commit 37a7e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/readiness/unsupported_override.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func getExpectedMinimumNumberOfMasters(spec *operatorv1.OperatorSpec, topologyMo
6161
switch {
6262
case topologyMode == configv1.SingleReplicaTopologyMode:
6363
return 1
64-
case topologyMode == configv1.HighlyAvailableArbiterMode:
64+
case topologyMode == configv1.HighlyAvailableArbiterMode || topologyMode == configv1.DualReplicaTopologyMode:
6565
return 2
6666
case err != nil:
6767
utilruntime.HandleError(err)

0 commit comments

Comments
 (0)