diff --git a/templates/statefulset.yaml b/templates/statefulset.yaml index 67fe2db..c073681 100644 --- a/templates/statefulset.yaml +++ b/templates/statefulset.yaml @@ -62,6 +62,10 @@ spec: {{- end }} securityContext: privileged: true + {{- if .Values.statefulset.dind.extraArgs }} + args: + {{- toYaml .Values.statefulset.dind.extraArgs | nindent 12 }} + {{- end }} startupProbe: exec: command: diff --git a/values.yaml b/values.yaml index 015b639..874385e 100644 --- a/values.yaml +++ b/values.yaml @@ -30,6 +30,7 @@ ## @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.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.securityContext Customize the SecurityContext ## @param statefulset.serviceAccountName Customize the service account name @@ -90,6 +91,12 @@ statefulset: # - name: "DOCKER_IPTABLES_LEGACY" # value: "1" + # Option to manually override the commands given to the container/pod completely: #22 + extraArgs: + #[] + - --mtu=1400 + - anotherone + persistence: size: 1Gi