homek8s/apps/base/forgejo/runner-configmap.yaml
Sirius DevOps 455c85b01c
Split Forgejo runners: arm64 on rpi, amd64 dind on siriussec.
Pi keeps host Docker and labels docker-arm64/arm64/docker.
T480 runs privileged docker:dind; jobs use docker-amd64/amd64.
2026-09-11 22:34:33 -04:00

39 lines
963 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: forgejo-runner-config
namespace: forgejo
data:
arm64.toml: |
log:
level: info
runner:
file: /config/runner.ini
capacity: 2
timeout: 1h
cache: /opt/siriusdevops/runner/cache
cache:
enabled: true
dir: /opt/siriusdevops/runner/cache
container:
privileged: true
docker_host: "unix:///var/run/docker.sock"
options: -v /usr/local/bin/docker-static:/usr/bin/docker:ro -v /opt/siriusdevops/runner/cli-plugins:/usr/local/lib/docker/cli-plugins:ro -v /var/run/docker.sock:/var/run/docker.sock
valid_volumes:
- "**"
amd64.toml: |
log:
level: info
runner:
file: /data/runner.ini
capacity: 2
timeout: 1h
cache: /data/cache
cache:
enabled: true
dir: /data/cache
container:
privileged: true
docker_host: "tcp://127.0.0.1:2375"
valid_volumes:
- "**"