Skip to content

Make DIND image configurable and remove non-runner-containers helper to avoid unintended DIND inclusion #3851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthew-collins-dailypay
Copy link

@matthew-collins-dailypay matthew-collins-dailypay commented Dec 16, 2024

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.

@norman-zon
Copy link

also covered here: #3645. no reaction from the maintainers for months...

@FearlessHyena
Copy link
Contributor

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants