homek8s/apps/base/forgejo/runner-configmap.yaml
Sirius DevOps 5e1a2b4f8d
Run Forgejo Actions runner as a cluster Deployment on rpi.
Reuses the existing pi-runner registration and host Docker socket.
Compose runner is stopped so it cannot double-poll.
2026-09-11 22:24:41 -04:00

22 lines
600 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: forgejo-runner-config
namespace: forgejo
data:
config.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
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:
- "**"