The district may provide for a retirement system; provided, that the adoption, terms and conditions of any retirement system covering employees of the district represented by a labor organization in accordance with this section shall be pursuant to a collective bargaining agreement between such labor organization and the district.