Hi everyone.
I have installed a new kubernetes cluster and deployed AWX 13.
I’m able to access the web console and try a few pings to check if the servers were reachable. But, I’m having a problem to synchronize our projects on git.
I try to put the proxy variables on Settings → Jobs → Environment Variables
{
“HOME”: “/var/lib/awx”,
“https_proxy”: “xxxx”,
“http_proxy”: “xxxx”,
“no_proxy”: “xxxx”
}
But I’m getting the following error:
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Failed to checkout branch master”, “rc”: 1, “stderr”: “error: pathspec ‘master’ did not match any file(s) known to git.\n”, “stderr_lines”: [“error: pathspec ‘master’ did not match any file(s) known to git.”], “stdout”: “”, “stdout_lines”: }
I have also tried run the git command by connecting directly to the pod and it works. But I had to export the http_proxy variable.
I believe the problem is related with the proxy at a system level.
Is it possible to modfiy the config maps to add the variable or I will have to change the deployment to add the env variable at pod level?
Thanks,
Daniel