-
Notifications
You must be signed in to change notification settings - Fork 4
/
deployment.yaml
54 lines (54 loc) · 1.47 KB
/
deployment.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apiVersion: apps/v1
kind: Deployment
metadata:
name: replit-takeout
spec:
replicas: 8
selector:
matchLabels:
app: replit-takeout
template:
metadata:
labels:
app: replit-takeout
spec:
containers:
- name: replit-takeout
image: hackclub/replit-takeout:latest
ports:
- containerPort: 8000
env:
- name: RUST_LOG
value: "debug"
- name: ROCKET_ADDRESS
value: "0.0.0.0"
- name: AIRTABLE_API_KEY
valueFrom:
secretKeyRef:
name: airtable
key: AIRTABLE_API_KEY
- name: AIRTABLE_BASE_ID
valueFrom:
secretKeyRef:
name: airtable
key: AIRTABLE_BASE_ID
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: storage-bucket
key: AWS_ACCESS_KEY_ID
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: storage-bucket
key: AWS_ACCESS_SECRET
- name: R2_ENDPOINT
valueFrom:
secretKeyRef:
name: storage-bucket
key: R2_ENDPOINT
- name: LOOPS_API_KEY
valueFrom:
secretKeyRef:
name: loops
key: LOOPS_API_KEY