-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenketo-deployment.yaml
44 lines (44 loc) · 1.04 KB
/
enketo-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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.fynarfin.service: enketo
name: enketo
spec:
replicas: 1
selector:
matchLabels:
io.fynarfin.service: enketo
strategy:
type: Recreate
template:
metadata:
labels:
io.fynarfin.service: enketo
spec:
containers:
- env:
- name: DOMAIN
value: "testing-odk-nginx.ibank.financial"
- name: SUPPORT_EMAIL
value: "[email protected]"
image: ntando/odk-central-enketo:latest
name: enketo
resources:
requests:
memory: "512Mi"
cpu: "1024m"
limits:
memory: "512Mi"
cpu: "1024m"
volumeMounts:
- mountPath: /etc/secrets
name: secrets-configmap
ports:
- containerPort: 8005
restartPolicy: Always
volumes:
- name: secrets-configmap
configMap:
name: secrets-configmap
status: {}