This commit is contained in:
Jeff(김주상) 2025-10-28 18:31:48 +02:00 committed by GitHub
commit b1ae76bd12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

View File

@ -101,6 +101,22 @@ args:
- dockerd
- --host=unix:///var/run/docker.sock
- --group=$(DOCKER_GROUP_GID)
{{- range $i, $container := .Values.template.spec.containers }}
{{- if eq $container.name "dind" }}
{{- if hasKey $container "resources" }}
resources:
{{ $container.resources | toYaml | nindent 2 }}
{{- else }}
resources:
limits:
cpu: 2
memory: "8Gi"
requests:
cpu: 2
memory: "8Gi"
{{- end }}
{{- end }}
{{- end }}
env:
- name: DOCKER_GROUP_GID
value: "123"