New Zealand on Thursday confirmed eight new cases of coronavirus linked to overseas travel, taking the total number of infections to 28.