Louis Walsh was undergoing chemotherapy in a secret cancer battle when he agreed to appear on a documentary about Boyzone.