File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
charts/gha-runner-scale-set Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,13 @@ args:
101
101
- dockerd
102
102
- --host=unix:///var/run/docker.sock
103
103
- --group=$(DOCKER_GROUP_GID)
104
+ { {- /* Append extra args only if containerMode.dind.extraDockerDaemonArgs exists and is a list */ -} }
105
+ { {- if and (kindIs " map" .Values.containerMode) (kindIs " map" (get .Values.containerMode " dind" )) -} }
106
+ { {- $extra := (get (get .Values.containerMode " dind" ) " extraDockerDaemonArgs" ) | default (list) -} }
107
+ { {- range $extra } }
108
+ - { { . | quote } }
109
+ { {- end } }
110
+ { {- end } }
104
111
env:
105
112
- name: DOCKER_GROUP_GID
106
113
value: "123"
Original file line number Diff line number Diff line change @@ -116,6 +116,12 @@ githubConfigSecret:
116
116
# # empty, and configuration should be applied to the template.
117
117
# containerMode:
118
118
# type: "dind" ## type can be set to dind or kubernetes
119
+ # dind:
120
+ # ## extraDockerDaemonArgs is a list of extra arguments to pass to the docker daemon
121
+ # extraDockerDaemonArgs:
122
+ # - --registry-mirror=https://my-mirror.com
123
+ # - --https-proxy=http://my-proxy.com:1234
124
+ # - --mtu=1400
119
125
# ## the following is required when containerMode.type=kubernetes
120
126
# kubernetesModeWorkVolumeClaim:
121
127
# accessModes: ["ReadWriteOnce"]
You can’t perform that action at this time.
0 commit comments