Juventus have confirmed that boss Massimiliano Allegri will leave the club at the end of 2018/2019 season