blob: 7a7d8f2839890d3218185aa19588640f4e31b9f0 [file] [log] [blame]
Gopinath Taget9b609e02018-03-07 16:02:50 -08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: xos-gui
5 labels:
6 app: xos-gui
7spec:
8 replicas: 1
9 template:
10 metadata:
11 labels:
12 app: xos-gui
13 spec:
14 containers:
15 - name: xos-gui
16 image: {{ .Values.pull_docker_registry }}{{ .Values.images.xos_gui.repository }}:{{ .Values.images.xos_gui.tag }}
17 ports:
18 - containerPort: 4000
19 port: 4000
20 protocol: TCP
21 volumeMounts:
22 - name: style-config
23 mountPath: /var/www/dist/style.config.js
24 subPath: style/style.config.js
25 - name: app-config
26 mountPath: /var/www/dist/app.config.js
27 subPath: app/app.config.js
28 - name: extensions-volume
29 mountPath: /var/www/dist/extensions
30 volumes:
31 - name: style-config
32 configMap:
33 name: xos-style-config
34 items:
35 - key: config
36 path: style/style.config.js
37 - name: app-config
38 configMap:
39 name: xos-app-config
40 items:
41 - key: config
42 path: app/app.config.js
43 - name: extensions-volume
Andy Bavier06f2fe72018-03-08 15:37:12 -070044 emptyDir: {}