mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-04-05 09:10:46 +00:00
chore: further support rootless dind
This commit is contained in:
@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user