-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
47 lines (46 loc) · 938 Bytes
/
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: od-api
labels:
app: od-api
spec:
replicas: 1
selector:
matchLabels:
app: od-api
template:
metadata:
labels:
app: od-api
spec:
containers:
- name: od-api
image: ghcr.io/stichting-crow/dashboarddeelmobiliteit-od-api:0.1
imagePullPolicy: IfNotPresent
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: DB_PORT
value: "5432"
- name: TZ
value: Europe/Amsterdam
---
apiVersion: v1
kind: Service
metadata:
name: od-api
spec:
selector:
app: od-api
ports:
- name: od-api-http
protocol: TCP
port: 80