diff --git a/controllers/construct/mongodbstatefulset.go b/controllers/construct/mongodbstatefulset.go index a6a71ff9b..5c8d7a1c6 100644 --- a/controllers/construct/mongodbstatefulset.go +++ b/controllers/construct/mongodbstatefulset.go @@ -224,7 +224,6 @@ func BuildMongoDBReplicaSetStatefulSetModificationFunction(mdb MongoDBStatefulSe statefulset.WithName(mdb.GetName()), statefulset.WithNamespace(mdb.GetNamespace()), statefulset.WithServiceName(mdb.ServiceName()), - statefulset.WithLabels(labels), statefulset.WithMatchLabels(labels), statefulset.WithReplicas(scale.ReplicasThisReconciliation(scaler)), statefulset.WithUpdateStrategyType(mdb.GetUpdateStrategyType()),