Base on this error:
ssh: Could not resolve hostname github.com: Try again fatal: Could not read from remote repository
Change to using git clone http
or git clone git@
, perhaps ssh
doesnot permit for your network.
You are using : git
user for git clone
, please create git user on CD server.
and add authenticate_key on github. Refer: https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server
DNS resolver didnot work on Flux CD server, add google DNS for the server :
8.8.8.8
or 8.8.4.4
into /etc/resolv.conf
file
and ping github.com
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…