Repository navigation
Make DIND image configurable and remove non-runner-containers helper to avoid unintended DIND inclusion - #3851
Conversation
…elper to avoid unintended DIND inclusion
|
also covered here: #3645. no reaction from the maintainers for months... |
|
@Link- @nikola-jokic @rentziass |
|
Any update here, please? Important one. |
|
Hi, this would be really useful :) |
|
What's blocking the merge? |
|
+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: #4219 (comment) 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. |
This PR updates the
gha-runner-scale-setHelm chart templates to allow the DIND image to be configurable based on.Values.template.spec.containers. With this change, the chart will continue to usedocker:dindby default, but if a container nameddindis 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-containershelper now inadvertently includes the DIND container in scenarios where it’s not intended, specifically when using Kubernetes mode. To address this, we remove thenon-runner-containershelper and rely exclusively onnon-runner-non-dind-containers. This ensures that DIND remains properly scoped and does not appear where it should not.