chore: further support rootless dind

This commit is contained in:
Daan Selen
2026-04-01 23:38:46 +02:00
parent 9c6fb6aeef
commit fa3a081b25

View File

@ -85,7 +85,11 @@ spec:
resources: resources:
{{- toYaml .Values.statefulset.resources | nindent 12 }} {{- toYaml .Values.statefulset.resources | nindent 12 }}
volumeMounts: volumeMounts:
{{- if .Values.statefulset.dind.rootless }}
- mouthPath: /run/user/{{ .Values.statefulset.dind.uid | default 1000 }}/
{{- else }}
- mountPath: /var/run/ - mountPath: /var/run/
{{- end }}
name: docker-socket name: docker-socket
{{- with .Values.statefulset.dind.extraVolumeMounts }} {{- with .Values.statefulset.dind.extraVolumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}