This commit is contained in:
Norman 2025-10-16 13:26:27 -07:00 committed by GitHub
commit a9e1426a5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 1 deletions

View File

@ -96,6 +96,15 @@ volumeMounts:
{{- end }} {{- end }}
{{- define "gha-runner-scale-set.dind-container" -}} {{- define "gha-runner-scale-set.dind-container" -}}
{{- range $i, $container := .Values.template.spec.containers }}
{{- if eq $container.name "dind" }}
{{- range $key, $val := $container }}
{{- if and (ne $key "env") (ne $key "volumeMounts") (ne $key "name") (ne $key "image") (ne $key "command") (ne $key "args") }}
{{ $key }}: {{ $val | toYaml | nindent 2 }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
image: docker:dind image: docker:dind
args: args:
- dockerd - dockerd

View File

@ -22,6 +22,17 @@ template:
limits: limits:
memory: "64Mi" memory: "64Mi"
cpu: "250m" cpu: "250m"
requests:
cpu: "32Mi"
memory: "100Mi"
- name: dind
resources:
limits:
memory: "64Mi"
cpu: "250m"
requests:
cpu: "32Mi"
memory: "100Mi"
volumes: volumes:
- name: work - name: work
hostPath: hostPath: