Kubernetes.K3s.installLog/services/Gitea/configmap-runner-config.yaml

27 lines
661 B
YAML
Raw Normal View History

2024-02-28 00:07:24 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: runner-config
namespace: gitea
data:
dind-config.yml: |
runner:
capacity: 2
labels: [dind:docker://node:21-bullseye]
2024-06-05 11:00:04 +00:00
container:
2024-06-07 11:59:09 +00:00
options: "--add-host=docker:host-gateway -v /certs:/certs -v /scratch:/scratch -v /output:/output"
2024-06-05 11:00:04 +00:00
valid_volumes:
- /certs
2024-06-07 11:59:09 +00:00
- /scratch
2024-06-07 11:31:39 +00:00
- /output
2024-02-28 00:07:24 +00:00
dind-rootless-config.yml: |
runner:
capacity: 2
labels: [dind-rootless:docker://node:21-bullseye]
2024-06-07 11:31:39 +00:00
container:
2024-06-07 11:59:09 +00:00
options: "-v /certs:/certs -v /scratch:/scratch -v /output:/output"
2024-06-07 11:31:39 +00:00
valid_volumes:
- /certs
2024-06-07 11:59:09 +00:00
- /scratch
2024-06-07 11:31:39 +00:00
- /output