Maple Leafs goaltender Jonathan Bernier will undergo surgery for a sports hernia and will require two to three weeks of rehab, according to TVA’s Renaud Lavoie.

Bernier missed the Leafs’ final four games of the regular season after suffering a lower-body injury against the Boston Bruins April 3. He also missed five games in March after injuring his groin in a game against the Los Angeles Kings.

The 25-year-old appeared in 55 games in his first season in Toronto, going 26-19-7 with a 2.68 goals-against average and .923 save percentage.