-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathmllp_adapter_e2e.yaml
57 lines (57 loc) · 1.63 KB
/
mllp_adapter_e2e.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
55
56
57
apiVersion: apps/v1
kind: Deployment
metadata:
name: mllp-adapter-deployment
spec:
replicas: 1
selector:
matchLabels:
app: mllp-adapter
template:
metadata:
labels:
app: mllp-adapter
spec:
containers:
- name: mllp-adapter
imagePullPolicy: Always
image: gcr.io/cloud-healthcare-containers/mllp-adapter:<IMAGE_LABEL>
ports:
- containerPort: 2575
protocol: TCP
name: "port"
command:
- "/usr/mllp_adapter/mllp_adapter"
- "--port=2575"
- "--hl7_v2_project_id=<PROJECT_ID>"
- "--hl7_v2_location_id=<LOCATION_ID>"
- "--hl7_v2_dataset_id=<DATASET_ID>"
- "--hl7_v2_store_id=<STORE_ID>"
- "--logtostderr"
- "--receiver_ip=<RECEIVER_IP>"
- "--pubsub_project_id=<PUBSUB_PROJECT_ID>"
- "--pubsub_subscription=<PUBSUB_SUBSCRIPTION_ID>"
- name: vpn-server
securityContext:
privileged: true
imagePullPolicy: Always
image: gcr.io/<GCR_PROJECT_ID>/<IMAGE_NAME>:<IMAGE_LABEL>
ports:
- name: "ike"
containerPort: 500
protocol: UDP
- name: "natt"
containerPort: 4500
protocol: UDP
- name: "port"
containerPort: 1701
protocol: UDP
volumeMounts:
- name: modules
mountPath: /lib/modules
readOnly: true
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory