blob: 5130955919c77c41e71853ce425014abb103d6bf [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
35 ports:
36 - containerPort: 88
37 readinessProbe:
38 tcpSocket:
39 port: 88
40 initialDelaySeconds: 5
41 periodSeconds: 10
42 volumes:
yuryn8b3bc5a2017-09-13 19:21:03 +030043 - name: localtime
44 hostPath:
45 path: /etc/localtime
Mandeep Khindad6ea9872017-06-24 11:49:37 -040046 - name: robot-eteshare
47 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000048 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
Mandeep Khindac2384bd2017-08-25 16:23:01 +000049 - name: robot-resources-asdc-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040050 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000051 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
52 - name: robot-resources-policy-interface
Mandeep Khindad6ea9872017-06-24 11:49:37 -040053 hostPath:
Mandeep Khindac2384bd2017-08-25 16:23:01 +000054 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/policy_interface.robot
55 - name: robot-resources-sdngc-interface
56 hostPath:
57 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
Mandeep Khindad6ea9872017-06-24 11:49:37 -040058 - name: lighttpd-authorization
59 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000060 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
Borislav Glozman5197e2e2017-07-24 10:45:28 +030061 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000062 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
yurynfcef9942017-10-26 17:10:50 +030063#{{ end }}