31 lines
682 B
YAML
31 lines
682 B
YAML
githubConfigUrl: https://github.com/actions/actions-runner-controller
|
|
githubConfigSecret:
|
|
github_token: test
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: runner
|
|
image: runner-image:latest
|
|
env:
|
|
- name: DOCKER_HOST
|
|
value: tcp://localhost:9999
|
|
- name: MY_NODE_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
volumeMounts:
|
|
- name: work
|
|
mountPath: /work
|
|
- name: others
|
|
mountPath: /others
|
|
resources:
|
|
limits:
|
|
memory: "64Mi"
|
|
cpu: "250m"
|
|
volumes:
|
|
- name: work
|
|
hostPath:
|
|
path: /data
|
|
type: Directory
|
|
containerMode:
|
|
type: dind |