You need to look at the bylaw for this fence/ gate carefully.
If it says that the maintenance of the fence/ gate is the responsibility of the owner, then the owner pays all upkeep.
If the bylaw is silent on who maintains the fence/ gate, then the OC is responsible.