blob: 3a98f87d21dd1806f7e04c3186129a9e5737f9dd [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: robot
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-robot"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006spec:
7 selector:
8 matchLabels:
9 app: robot
10 template:
11 metadata:
12 labels:
13 app: robot
14 name: robot
15 spec:
16 containers:
kerenjfc2caa62017-08-23 12:46:02 +000017 - image: {{ .Values.image.testsuite }}
18 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040019 name: robot
20 volumeMounts:
21 - name: robot-eteshare
22 mountPath: /share
Mandeep Khindac2384bd2017-08-25 16:23:01 +000023 - name: robot-resources-asdc-interface
24 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot
25 - name: robot-resources-policy-interface
26 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot
27 - name: robot-resources-sdngc-interface
28 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040029 - name: lighttpd-authorization
30 mountPath: /etc/lighttpd/authorization
Mandeep Khindadc2dc862017-09-08 05:20:30 +000031 - name: robot-assets-asdc-base-clearwater-env
32 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_clearwater/base_clearwater.env
33 - name: robot-assets-asdc-base-vfw-env
34 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vfw/base_vfw.env
35 - name: robot-assets-asdc-base-vlb-env
36 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vlb/base_vlb.env
37 - name: robot-assets-asdc-base-vlb-dns-env
38 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vlb/dnsscaling.env
Mandeep Khindad6ea9872017-06-24 11:49:37 -040039 ports:
40 - containerPort: 88
41 readinessProbe:
42 tcpSocket:
43 port: 88
44 initialDelaySeconds: 5
45 periodSeconds: 10
46 volumes:
47 - name: robot-eteshare
48 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000049 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
Mandeep Khindac2384bd2017-08-25 16:23:01 +000050 - name: robot-resources-asdc-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040051 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000052 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
53 - name: robot-resources-policy-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040054 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000055 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/policy_interface.robot
56 - name: robot-resources-sdngc-interface
57 hostPath:
58 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059 - name: lighttpd-authorization
60 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000061 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
Mandeep Khindadc2dc862017-09-08 05:20:30 +000062 - name: robot-assets-asdc-base-clearwater-env
63 hostPath:
64 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_clearwater/base_clearwater.env
65 - name: robot-assets-asdc-base-vfw-env
66 hostPath:
67 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vfw/base_vfw.env
68 - name: robot-assets-asdc-base-vlb-env
69 hostPath:
70 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/base_vlb.env
71 - name: robot-assets-asdc-base-vlb-dns-env
72 hostPath:
73 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/dnsscaling.env
Borislav Glozman5197e2e2017-07-24 10:45:28 +030074 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000075 - name: "{{ .Values.nsPrefix }}-docker-registry-key"