-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
47 lines (47 loc) · 1.21 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
apiVersion: apps/v1
kind: Deployment
metadata:
name: raw-data-exporter
spec:
selector:
matchLabels:
app: raw-data-exporter
template:
metadata:
labels:
app: raw-data-exporter
spec:
containers:
- name: raw-data-exporter
image: registry.gitlab.com/bikedashboard/raw-data-exporter:0.1
env:
- name: DB_HOST
value: 10.133.75.95
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: db-password-deelfietsdashboard
- name: DB_USER
value: deelfietsdashboard
- name: REDIS_URL
value: 10.133.75.95
- name: SPACES_KEY
valueFrom:
secretKeyRef:
key: SPACES_KEY
name: do-spaces
- name: SPACES_SECRET
valueFrom:
secretKeyRef:
key: SPACES_SECRET
name: do-spaces
- name: SENDGRID_API_KEY
valueFrom:
secretKeyRef:
key: SENDGRID_API_KEY
name: sendgrid-token
resources:
limits:
memory: "512Mi"
cpu: "100m"