File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ resource "kubernetes_manifest" "github_ent_runners_dind" {
14
14
template = {
15
15
spec = {
16
16
enterprise = each.value.name
17
- # initContainers = [
18
- # {
19
- # command = ["sh", "-c", "cat /home/runner/dockerconfig .json > /home/runner/.docker/config.json"]
20
- # image = "alpine"
21
- # name = "dockerconfigwriter"
22
- # }
23
- # ]
17
+ initContainers = [
18
+ {
19
+ command = [" sh" , " -c" , " cat /home/runner/config .json > /home/runner/.docker/config.json && sleep 20 " ]
20
+ image = " alpine"
21
+ name = " dockerconfigwriter"
22
+ }
23
+ ]
24
24
dockerdWithinRunnerContainer = true
25
25
image = " summerwind/actions-runner-dind"
26
26
serviceAccountName = var.service_account_name
@@ -32,7 +32,7 @@ resource "kubernetes_manifest" "github_ent_runners_dind" {
32
32
affinity = each.value.affinity
33
33
volumeMounts = [
34
34
{
35
- mountPath = " /home/runner/dockerconfig .json"
35
+ mountPath = " /home/runner/config .json"
36
36
subPath = " config.json"
37
37
name = " docker-secret"
38
38
},
You can’t perform that action at this time.
0 commit comments