feat: add ability to add custom arguments to the dind daemon

This commit is contained in:
DaanSelen
2026-04-07 09:55:38 +02:00
parent 0ccd46355c
commit af90c8bbf0
2 changed files with 11 additions and 0 deletions

View File

@ -62,6 +62,10 @@ spec:
{{- end }} {{- end }}
securityContext: securityContext:
privileged: true privileged: true
{{- if .Values.statefulset.dind.extraArgs }}
args:
{{- toYaml .Values.statefulset.dind.extraArgs | nindent 12 }}
{{- end }}
startupProbe: startupProbe:
exec: exec:
command: command:

View File

@ -30,6 +30,7 @@
## @param statefulset.dind.pullPolicy The Docker-in-Docker pullPolicy ## @param statefulset.dind.pullPolicy The Docker-in-Docker pullPolicy
## @param statefulset.dind.extraVolumeMounts Allows mounting extra volumes in the Docker-in-Docker container ## @param statefulset.dind.extraVolumeMounts Allows mounting extra volumes in the Docker-in-Docker container
## @param statefulset.dind.extraEnvs Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY` ## @param statefulset.dind.extraEnvs Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY`
## @param statefulset.dind.extraArgs Allows adding custom arguments to the Docker Daemon
## @param statefulset.persistence.size Size for persistence to store act runner data ## @param statefulset.persistence.size Size for persistence to store act runner data
## @param statefulset.securityContext Customize the SecurityContext ## @param statefulset.securityContext Customize the SecurityContext
## @param statefulset.serviceAccountName Customize the service account name ## @param statefulset.serviceAccountName Customize the service account name
@ -90,6 +91,12 @@ statefulset:
# - name: "DOCKER_IPTABLES_LEGACY" # - name: "DOCKER_IPTABLES_LEGACY"
# value: "1" # value: "1"
# Option to manually override the commands given to the container/pod completely: #22
extraArgs:
#[]
- --mtu=1400
- anotherone
persistence: persistence:
size: 1Gi size: 1Gi