feat(charts): Allow customitzing the dind image of the runner-scale-set

This commit is contained in:
Pablo Torregrosa Páez 2025-05-14 14:10:43 +02:00 committed by Pablo Torregrosa
parent 4326693888
commit 53f167a470
2 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,7 @@ volumeMounts:
{{- end }}
{{- define "gha-runner-scale-set.dind-container" -}}
image: docker:dind
image: {{ .Values.containerMode.dindImage | default "docker:dind" }}
args:
- dockerd
- --host=unix:///var/run/docker.sock

View File

@ -116,6 +116,8 @@ githubConfigSecret:
## empty, and configuration should be applied to the template.
# containerMode:
# type: "dind" ## type can be set to dind or kubernetes
# ## Optional. To use a custom image for dind, set the image name here.
# dindImage: "docker:dind"
# ## the following is required when containerMode.type=kubernetes
# kubernetesModeWorkVolumeClaim:
# accessModes: ["ReadWriteOnce"]