I would never run those cables through the tubes using drilled holes due to danger of chafing.
Solar panels wired in an array create high voltages which can possibly kill you.
Therefore, only first-class cables that are specifically built for the intended purpose should be used. These cables have reinforced insulation to prevent chafing and are therefore not suitable for being pulled into pipes due to their rigidity.
Furthermore, only suitable plug connections should be used that have appropriate insulating properties and are absolutely waterproof.
Dedicated solar cables and MC-4 plugs/sockets are the method of choice to ensure electrical safety.