Skip to content
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

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

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.

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.

3 participants