Helm-Template-Variable created for dind image
During the implementation of the Actions-runner-controller, I encountered several challenges. A primary issue was my inability to download images within the dind container due to persistent timeout issues. Upon closer examination, I realized that the dind container wasn't recognizing my specific configurations, including certificates, proxy settings, and registry-mirror. Despite numerous attempts, I couldn't correctly relay this information to the dind container. While I was able to execute Docker commands within the container, downloading images remained an obstacle.
To circumvent this issue, I created a custom docker:dind image that incorporated all the necessary configurations. I then uploaded this image to my own registry-mirror and replaced the default hard-coded dind image with my tailored version. This approach also allowed me to bypass the rate-limiting challenges I faced when downloading images within the container.
Although this method resolved the issues related to certificates, proxy, and registry-mirror, it introduced a downside: I had to make continuous adjustments to the Helm-Chart. Ideally, the chart should offer the flexibility to use a user-defined docker:dind image instead of relying on a hard-coded one.
Considering this, I've extended the chart to provide this flexibility. I hope these modifications prove useful to others, and I welcome any feedback or suggestions for improvement.
Sorry to hijack this thread - Sad that this PR is not merged as currently our actions runner controller setup is broken due to and there is no way to override the dind image:
Failed to pull image "docker:dind": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/library/docker:dind": failed to copy: httpReadSeeker: failed open: content at https://registry-1.docker.io/v2/library/docker/manifests/sha256:354a62c65fcc5fc052ae7ec2eeee6e556f4fe18fe50eb16e4de9e8e765d6e322 not found: not found