He told his loved ones about the diagnosis while filming the show and shared that there had been complications during treatment - the star has known about the news since May