fix(GH-2284): Put docker:dind in proper cgroup parent

This commit is contained in:
Marek Sierociński 2026-05-04 08:30:35 +02:00
parent 8c84ab2f42
commit e1d34ce853
1 changed files with 5 additions and 0 deletions

View File

@ -115,9 +115,14 @@ args:
- dockerd
- --host=unix:///var/run/docker.sock
- --group=$(DOCKER_GROUP_GID)
- --cgroup-parent=/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod${POD_UID//-/_}.slice
env:
- name: DOCKER_GROUP_GID
value: "123"
- name: POD_UID
valueFrom:
fieldRef:
fieldPath: metadata.uid
securityContext:
privileged: true
{{- if (ge (.Capabilities.KubeVersion.Minor | int) 29) }}