<p>I have a kubernetes namespace that I want to leverage for Gitlab runners. I installed the runners following the <a href="https://docs.gitlab.com/ee/install/kubernetes/gitlab_runner_chart.html" rel="nofollow noreferrer">Helm Chart</a> instructions. The problem I am running into is that when the job container spins up, I get the following 
ERROR: </p>

<p>Job failed: image pull failed: rpc error: code = Unknown desc = Get <a href="https://registry-1.docker.io/v2/" rel="nofollow noreferrer">https://registry-1.docker.io/v2/</a>: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)</p>

<p>It's trying to connect to the public docker repo but my organizations firewall is blocking it. How would I go about having the instace go to our private repo? </p>

<p>Any help would be greatly appreciated as I've been stuck on this issue for some time now :(</p>

<p>I would presume you'll need to specify a <code>values.yaml</code> to the <code>helm install</code> that points to your mirrored copy of the images it needs. So:</p>

<ul>
<li><a href="https://gitlab.com/charts/gitlab-runner/blob/1e329394f69b80003a43c503e7d11eb6463d008a/values.yaml#L4" rel="nofollow noreferrer">gitlab/gitlab-runner</a></li>
<li><a href="https://gitlab.com/charts/gitlab-runner/blob/1e329394f69b80003a43c503e7d11eb6463d008a/values.yaml#L14" rel="nofollow noreferrer">busybox</a></li>
<li><a href="https://gitlab.com/charts/gitlab-runner/blob/1e329394f69b80003a43c503e7d11eb6463d008a/values.yaml#L87" rel="nofollow noreferrer">ubuntu</a></li>
</ul>

<p>or whatever ones you wish to use for the <code>init</code> and <code>runner: image:</code></p>

<p>Since you already have the chart deployed, I am fairly certain you can just do an <a href="https://github.com/helm/helm/blob/v2.10.0/docs/using_helm.md#helm-upgrade-and-helm-rollback-upgrading-a-release-and-recovering-on-failure" rel="nofollow noreferrer">"helm upgrade"</a> that changes only those values:</p>

<pre><code>helm upgrade --set "image=repo.example.com/gitlab/gitlab-runner" \
    --set "init.image=repo.example.com/etc-etc" \
    [and so forth] \
    $releaese_name $chart_name
</code></pre>

<p><em>(substituting the release name and the name of the chart as your helm knows it, of course)</em></p>
