-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.yaml
34 lines (33 loc) · 880 Bytes
/
job.yaml
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: run.googleapis.com/v1
kind: Job
metadata:
name: rusty-bot
spec:
template:
spec:
template:
spec:
containers:
- image: us-docker.pkg.dev/ut4-hubs/gcr.io/rusty-bot:latest
env:
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
key: latest
name: discord-token
- name: MONGO_URI
valueFrom:
secretKeyRef:
key: latest
name: mongo-uri
- name: SUPERUSERS
valueFrom:
secretKeyRef:
key: latest
name: superusers
- name: RUST_LOG
value: info
- name: ENV
value: DEV
- name: MONGO_READY_MAX_WAIT
value: "30"