feat(dind): configure Docker daemon
Some checks are pending
Renovate / renovate (push) Waiting to run
Some checks are pending
Renovate / renovate (push) Waiting to run
This commit is contained in:
parent
08fff29ee3
commit
25b8a13e14
4 changed files with 30 additions and 2 deletions
3
forgejo/config/runners/daemon.json
Normal file
3
forgejo/config/runners/daemon.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"max-concurrent-downloads": 2
|
||||||
|
}
|
|
@ -34,9 +34,12 @@ configMapGenerator:
|
||||||
- name: act-runner-config-arm64
|
- name: act-runner-config-arm64
|
||||||
files:
|
files:
|
||||||
- config.yaml=config/runners/config-arm64.yaml
|
- config.yaml=config/runners/config-arm64.yaml
|
||||||
|
- daemon.json=config/runners/daemon.json
|
||||||
|
|
||||||
- name: act-runner-config-amd64
|
- name: act-runner-config-amd64
|
||||||
files:
|
files:
|
||||||
- config.yaml=config/runners/config-amd64.yaml
|
- config.yaml=config/runners/config-amd64.yaml
|
||||||
|
- daemon.json=config/runners/daemon.json
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: forgejo
|
- name: forgejo
|
||||||
|
|
|
@ -94,6 +94,8 @@ spec:
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
- name: docker-config
|
||||||
|
mountPath: /etc/docker
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
@ -124,4 +126,13 @@ spec:
|
||||||
sizeLimit: 5Mi
|
sizeLimit: 5Mi
|
||||||
- name: runner-config
|
- name: runner-config
|
||||||
configMap:
|
configMap:
|
||||||
name: act-runner-config-amd64
|
name: act-runner-config-amd64
|
||||||
|
items:
|
||||||
|
- key: config.yaml
|
||||||
|
path: config.yaml
|
||||||
|
- name: docker-config
|
||||||
|
configMap:
|
||||||
|
name: act-runner-config-amd64
|
||||||
|
items:
|
||||||
|
- key: daemon.json
|
||||||
|
path: daemon.json
|
|
@ -95,6 +95,8 @@ spec:
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
- name: docker-config
|
||||||
|
mountPath: /etc/docker
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
@ -125,4 +127,13 @@ spec:
|
||||||
sizeLimit: 5Mi
|
sizeLimit: 5Mi
|
||||||
- name: runner-config
|
- name: runner-config
|
||||||
configMap:
|
configMap:
|
||||||
name: act-runner-config-arm64
|
name: act-runner-config-arm64
|
||||||
|
items:
|
||||||
|
- key: config.yaml
|
||||||
|
path: config.yaml
|
||||||
|
- name: docker-config
|
||||||
|
configMap:
|
||||||
|
name: act-runner-config-arm64
|
||||||
|
items:
|
||||||
|
- key: daemon.json
|
||||||
|
path: daemon.json
|
Loading…
Reference in a new issue