Closed erypolovina closed 1 month ago
Hey @erypolovina,
I don't think this is an issue with ARC, but more importantly, I think this is working as expected. When you run sudo, environment variables are not preserved by default. I think you would need to run something like sudo -E apt-get update
.
Checks
Controller Version
0.9.0
Deployment Method
Helm
Checks
To Reproduce
We have disabled external internet access for our Runners and are required to use a proxy to reach external endpoints (ex. ubuntu updates, github...)
When the runners spin up, if you try to run
sudo apt update
it will hang in our case. But if you connect to the runner and set the proxy environment variables on root, the command will then work.Additionally, if you check the environment variables for runner user and root user in the runners with
We can see that the Proxy variables are set for the runner and not root user.
Runner Pod Logs