forked from SanderKnape/github-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.yml
More file actions
36 lines (36 loc) · 800 Bytes
/
deployment.yml
File metadata and controls
36 lines (36 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apiVersion: apps/v1
kind: Deployment
metadata:
name: github-runner
labels:
app: github-runner
spec:
replicas: 1
selector:
matchLabels:
app: github-runner
template:
metadata:
labels:
app: github-runner
spec:
containers:
- name: github-runner
image: github-runner:latest
env:
- name: GITHUB_OWNER
value: Luukxt8
- name: GITHUB_REPOSITORY
value: github-runner
- name: RUNNER_TOKEN # stored separately in a Kubernetes secret
valueFrom:
secretKeyRef:
name: github-pat
key: pat
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "500Mi"
cpu: "500m"