This commit is contained in:
Piotr Palka 2025-09-20 02:30:32 +05:30 committed by GitHub
commit f161a42320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -96,11 +96,12 @@ volumeMounts:
{{- end }}
{{- define "gha-runner-scale-set.dind-container" -}}
image: docker:dind
image: {{ .Values.template.spec.dind.image }}
args:
- dockerd
- --host=unix:///var/run/docker.sock
- --group=$(DOCKER_GROUP_GID)
- --log-level={{ .Values.template.spec.dind.logLevel }}
env:
- name: DOCKER_GROUP_GID
value: "123"

View File

@ -310,11 +310,12 @@ template:
## - name: dind-externals
## mountPath: /home/runner/tmpDir
## - name: dind
## image: docker:dind
## image: {{ .Values.template.spec.dind.image }}
## args:
## - dockerd
## - --host=unix:///var/run/docker.sock
## - --group=$(DOCKER_GROUP_GID)
## - --log-level={{ .Values.template.spec.dind.logLevel }}
## env:
## - name: DOCKER_GROUP_GID
## value: "123"
@ -388,6 +389,14 @@ template:
## requests:
## storage: 1Gi
spec:
dind:
## Log level of the Docker daemon. Use one of the following values: "debug", "info", "warn", "error", "fatal".
## Defaults to "info".
logLevel: info
## Set a dind image for sidecar container. Eg: use a specific registry in cloud environment to speed up the image pulling process and cut down external network traffic cost.
## For AWS based deployments 'public.ecr.aws/docker/library/docker:dind' may be a good choice.
## Defaults to "docker:dind".
image: docker:dind
containers:
- name: runner
image: ghcr.io/actions/actions-runner:latest