blob: 8b3a41d63fb8d9b61e84c2b7ea109f6d8f0e9bfd [file] [log] [blame]
Gopinath Taget9b609e02018-03-07 16:02:50 -08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: xos-ws
5 labels:
6 app: xos-ws
7spec:
8 replicas: 1
9 template:
10 metadata:
11 labels:
12 app: xos-ws
13 spec:
14 containers:
15 - name: xos-ws
16 image: {{ .Values.pull_docker_registry }}{{ .Values.images.xos_ws.repository }}:{{ .Values.images.xos_ws.tag }}
17 command: ["npm start -- --config gateway-config.yml"]
18 ports:
19 - containerPort: 3000
20 port: 3000
21 protocol: TCP
22 volumeMounts:
23 - name: gateway-config
24 mountPath: /var/www/src/config/gateway-config.yml
25 subPath: config/gateway-config.yml
26 volumes:
27 - name: gateway-config
28 configMap:
29 name: xos-gateway
30 items:
31 - key: config
32 path: config/gateway-config.yml