Runner hosted in openshift with custom toml config for proxy

Gitlabrunner hosted on openshift cluster with proxy. we configured custom toml file for proxy that includes git config --… as pre_get_sources_script. But unfortunately, repository not able to pull and got below error msg.

fatal: unable to access ‘[MASKED]/bw.git/’: Failed to connect to port 443: Connection timed out

kindly advise.