-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpidgtm-map-job.yml
34 lines (34 loc) · 1.01 KB
/
pidgtm-map-job.yml
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
apiVersion: batch/v1
kind: Job
metadata:
name: job-pidgtm-compile
spec:
ttlSecondsAfterFinished: 3600 # After 1 hour of completion, the Job will be deleted
template:
metadata:
labels:
app: pidgtm
spec:
containers:
- name: pidgtm
image: danstaken/pidgtm:latest
imagePullPolicy: Always
args: ["map", "1000", "4463760"]
env:
- name: STARTGG_TOKEN
value: "your-token-here"
- name: STARTGG_TOKEN_1
value: "your-token-here"
- name: STARTGG_TOKEN_2
value: "your-token-here"
- name: STARTGG_TOKEN_3
value: "your-token-here"
- name: STARTGG_TOKEN_4
value: "your-token-here"
- name: STARTGG_TOKEN_5
value: "your-token-here"
- name: STARTGG_TOKEN_6
value: "your-token-here"
- name: PIDGTM_DATABASE_URL
value: "database-url-here"
restartPolicy: OnFailure