mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
32 lines
701 B
YAML
32 lines
701 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: ACTIONS_RUNNER_CONTAINER_HOOKS
|
|
value: /k8s/index.js
|
|
- 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: kubernetes
|