diff --git a/charts/gha-runner-scale-set/templates/_helpers.tpl b/charts/gha-runner-scale-set/templates/_helpers.tpl index 8428c29a..bc7f8c1d 100644 --- a/charts/gha-runner-scale-set/templates/_helpers.tpl +++ b/charts/gha-runner-scale-set/templates/_helpers.tpl @@ -96,7 +96,8 @@ volumeMounts: {{- end }} {{- define "gha-runner-scale-set.dind-container" -}} -image: docker:dind +image: {{ .Values.dind.image }} +imagePullPolicy: {{ .Values.dind.imagePullPolicy }} args: - dockerd - --host=unix:///var/run/docker.sock diff --git a/charts/gha-runner-scale-set/values.yaml b/charts/gha-runner-scale-set/values.yaml index c602dd22..daaed6be 100644 --- a/charts/gha-runner-scale-set/values.yaml +++ b/charts/gha-runner-scale-set/values.yaml @@ -295,6 +295,11 @@ githubConfigSecret: # 3600.0, # ] +# if using dind - you can overwrite the image used +dind: + image: docker:dind + imagePullPolicy: IfNotPresent + ## template is the PodSpec for each runner Pod ## For reference: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodSpec template: