Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: robot |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 5 | namespace: "{{ .Values.nsPrefix }}-robot" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | spec: |
| 7 | selector: |
| 8 | matchLabels: |
| 9 | app: robot |
| 10 | template: |
| 11 | metadata: |
| 12 | labels: |
| 13 | app: robot |
| 14 | name: robot |
| 15 | spec: |
| 16 | containers: |
kerenj | fc2caa6 | 2017-08-23 12:46:02 +0000 | [diff] [blame] | 17 | - image: {{ .Values.image.testsuite }} |
| 18 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 19 | name: robot |
| 20 | volumeMounts: |
| 21 | - name: robot-eteshare |
| 22 | mountPath: /share |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 23 | - 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 31 | - 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 Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 43 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 44 | - name: robot-resources-openstack-keystone-int |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 45 | hostPath: |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 46 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/openstack/keystone_interface.robot |
| 47 | - name: robot-resources-asdc-interface |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 48 | hostPath: |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 49 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot |
| 50 | - name: robot-resources-policy-interface |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 51 | hostPath: |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 52 | 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 56 | - name: lighttpd-authorization |
| 57 | hostPath: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 58 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 59 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 60 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |