I've only run into this when trying to get new images for K8s from my Azure Container Registry when the resource doesn't have permissions set. Have you checked to see if it works locally or with broader permissions?
Unable to resolve github.com from container
I am trying to build and deploy an application using oc cluster up which throws me the below error while build.
Cloning "https://github.com/neoncyrex/phpinfo.git " ...
WARNING: timed out waiting for git server, will wait 1m4s
error: fatal: unable to access 'https://github.com/neoncyrex/phpinfo.git/': Could not resolve host: github.com; Unknown error
please find the configurations below:
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO
Client:
Version: 18.09.9
API version: 1.39
Go version: go1.11.13
Git commit: 039a7df9ba
Built: Wed Sep 4 16:57:28 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.9
API version: 1.39 (minimum version 1.12)
Go version: go1.11.13
Git commit: 039a7df
Built: Wed Sep 4 16:19:38 2019
OS/Arch: linux/amd64
Experimental: false
unable to understand what needs to be done to make it work.