blob: 561d795287788c6ad72362ceeed8a0b9f7026435 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableRobotRobot }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: robot
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-robot"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007spec:
8 selector:
9 matchLabels:
10 app: robot
11 template:
12 metadata:
13 labels:
14 app: robot
15 name: robot
16 spec:
17 containers:
kerenjfc2caa62017-08-23 12:46:02 +000018 - image: {{ .Values.image.testsuite }}
19 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040020 name: robot
21 volumeMounts:
yuryn8b3bc5a2017-09-13 19:21:03 +030022 - name: localtime
23 mountPath: /etc/localtime
24 readOnly: true
Mandeep Khindad6ea9872017-06-24 11:49:37 -040025 - name: robot-eteshare
26 mountPath: /share
Mandeep Khindac2384bd2017-08-25 16:23:01 +000027 - name: robot-resources-asdc-interface
28 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot
29 - name: robot-resources-policy-interface
30 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot
31 - name: robot-resources-sdngc-interface
32 mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040033 - name: lighttpd-authorization
34 mountPath: /etc/lighttpd/authorization
Mandeep Khindadc2dc862017-09-08 05:20:30 +000035 - name: robot-assets-asdc-base-clearwater-env
36 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_clearwater/base_clearwater.env
37 - name: robot-assets-asdc-base-vfw-env
38 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vfw/base_vfw.env
39 - name: robot-assets-asdc-base-vlb-env
40 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vlb/base_vlb.env
41 - name: robot-assets-asdc-base-vlb-dns-env
42 mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vlb/dnsscaling.env
Mandeep Khindad6ea9872017-06-24 11:49:37 -040043 ports:
44 - containerPort: 88
45 readinessProbe:
46 tcpSocket:
47 port: 88
48 initialDelaySeconds: 5
49 periodSeconds: 10
50 volumes:
yuryn8b3bc5a2017-09-13 19:21:03 +030051 - name: localtime
52 hostPath:
53 path: /etc/localtime
Mandeep Khindad6ea9872017-06-24 11:49:37 -040054 - name: robot-eteshare
55 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000056 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
Mandeep Khindac2384bd2017-08-25 16:23:01 +000057 - name: robot-resources-asdc-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040058 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000059 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
60 - name: robot-resources-policy-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040061 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000062 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/policy_interface.robot
63 - name: robot-resources-sdngc-interface
64 hostPath:
65 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040066 - name: lighttpd-authorization
67 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000068 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
Mandeep Khindadc2dc862017-09-08 05:20:30 +000069 - name: robot-assets-asdc-base-clearwater-env
70 hostPath:
71 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_clearwater/base_clearwater.env
72 - name: robot-assets-asdc-base-vfw-env
73 hostPath:
74 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vfw/base_vfw.env
75 - name: robot-assets-asdc-base-vlb-env
76 hostPath:
77 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/base_vlb.env
78 - name: robot-assets-asdc-base-vlb-dns-env
79 hostPath:
80 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/dnsscaling.env
Borislav Glozman5197e2e2017-07-24 10:45:28 +030081 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000082 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
yurynfcef9942017-10-26 17:10:50 +030083#{{ end }}