Kubernetes.K3s.installLog/services/Gitea-Legacy/configmap-runner-config.yaml
2024-11-26 21:20:36 +11:00

27 lines
668 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: runner-config
namespace: gitea-legacy
data:
dind-config.yml: |
runner:
capacity: 2
labels: [dind:docker://node:21-bullseye]
container:
options: "--add-host=docker:host-gateway -v /certs:/certs -v /scratch:/scratch -v /output:/output"
valid_volumes:
- /certs
- /scratch
- /output
dind-rootless-config.yml: |
runner:
capacity: 2
labels: [dind-rootless:docker://node:21-bullseye]
container:
options: "-v /certs:/certs -v /scratch:/scratch -v /output:/output"
valid_volumes:
- /certs
- /scratch
- /output