Make DIND image configurable and remove non-runner-containers helper to avoid unintended DIND inclusion
This PR updates the gha-runner-scale-set Helm chart templates to allow the DIND image to be configurable based on .Values.template.spec.containers. With this change, the chart will continue to use docker:dind by default, but if a container named dind is defined, that image is used instead. This provides greater flexibility for users who need to customize their DIND image.
As a result of making the DIND image configurable, the non-runner-containers helper now inadvertently includes the DIND container in scenarios where it’s not intended, specifically when using Kubernetes mode. To address this, we remove the non-runner-containers helper and rely exclusively on non-runner-non-dind-containers. This ensures that DIND remains properly scoped and does not appear where it should not.
also covered here: https://github.com/actions/actions-runner-controller/pull/3645. no reaction from the maintainers for months...
@Link- @nikola-jokic @rentziass Would really like this and #3645 to be merged so #3709 can be supported This seems to be a very straightforward change so could someone from GH please review and merge this?
Any update here, please? Important one.
Hi, this would be really useful :)
What's blocking the merge? This change is convenient for users.
+1 for this, it's annoying to have to override a full spec when we just need to point to an internal registry
Please refer to this comment: https://github.com/actions/actions-runner-controller/pull/4219#issuecomment-3236359120
I will close this PR since it would require a redesign of the chart instead of a temporary fix. I understand that customizing just one field would result in larger values.yaml file, but I would disagree that it is highly inconvenient.