blob: 56feb0c1be7c6fa68a6f102a733d0b823ca87e41 [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-openstack-keystone-int
24 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/openstack/keystone_interface.robot
25 - name: robot-resources-asdc-interface
26 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot
27 - name: robot-resources-policy-interface
28 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot
29 - name: robot-resources-sdngc-interface
30 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040031 - name: lighttpd-authorization
32 mountPath: /etc/lighttpd/authorization
33 ports:
34 - containerPort: 88
35 readinessProbe:
36 tcpSocket:
37 port: 88
38 initialDelaySeconds: 5
39 periodSeconds: 10
40 volumes:
41 - name: robot-eteshare
42 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000043 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
Mandeep Khindac2384bd2017-08-25 16:23:01 +000044 - name: robot-resources-openstack-keystone-int
Mandeep Khindad6ea9872017-06-24 11:49:37 -040045 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000046 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/openstack/keystone_interface.robot
47 - name: robot-resources-asdc-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040048 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000049 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
50 - name: robot-resources-policy-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/policy_interface.robot
53 - name: robot-resources-sdngc-interface
54 hostPath:
55 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040056 - name: lighttpd-authorization
57 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000058 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
Borislav Glozman5197e2e2017-07-24 10:45:28 +030059 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000060 - name: "{{ .Values.nsPrefix }}-docker-registry-key"