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 }} {{- end }}
{{- define "gha-runner-scale-set.dind-container" -}} {{- define "gha-runner-scale-set.dind-container" -}}
image: docker:dind image: {{ .Values.template.spec.dind.image }}
args: args:
- dockerd - dockerd
- --host=unix:///var/run/docker.sock - --host=unix:///var/run/docker.sock
- --group=$(DOCKER_GROUP_GID) - --group=$(DOCKER_GROUP_GID)
- --log-level={{ .Values.template.spec.dind.logLevel }}
env: env:
- name: DOCKER_GROUP_GID - name: DOCKER_GROUP_GID
value: "123" value: "123"

View File

@ -310,11 +310,12 @@ template:
## - name: dind-externals ## - name: dind-externals
## mountPath: /home/runner/tmpDir ## mountPath: /home/runner/tmpDir
## - name: dind ## - name: dind
## image: docker:dind ## image: {{ .Values.template.spec.dind.image }}
## args: ## args:
## - dockerd ## - dockerd
## - --host=unix:///var/run/docker.sock ## - --host=unix:///var/run/docker.sock
## - --group=$(DOCKER_GROUP_GID) ## - --group=$(DOCKER_GROUP_GID)
## - --log-level={{ .Values.template.spec.dind.logLevel }}
## env: ## env:
## - name: DOCKER_GROUP_GID ## - name: DOCKER_GROUP_GID
## value: "123" ## value: "123"
@ -388,6 +389,14 @@ template:
## requests: ## requests:
## storage: 1Gi ## storage: 1Gi
spec: 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: containers:
- name: runner - name: runner
image: ghcr.io/actions/actions-runner:latest image: ghcr.io/actions/actions-runner:latest