Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: robot |
| 5 | spec: |
| 6 | selector: |
| 7 | matchLabels: |
| 8 | app: robot |
| 9 | template: |
| 10 | metadata: |
| 11 | labels: |
| 12 | app: robot |
| 13 | name: robot |
| 14 | spec: |
| 15 | containers: |
Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 16 | - image: nexus3.onap.org:10001/openecomp/testsuite:1.1-STAGING-latest |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 17 | name: robot |
| 18 | volumeMounts: |
| 19 | - name: robot-eteshare |
| 20 | mountPath: /share |
| 21 | - name: robot-assets |
| 22 | mountPath: /var/opt/OpenECOMP_ETE/robot/assets |
| 23 | - name: robot-resources |
| 24 | mountPath: /var/opt/OpenECOMP_ETE/robot/resources |
| 25 | - name: robot-testsuites |
| 26 | mountPath: /var/opt/OpenECOMP_ETE/robot/testsuites |
| 27 | - name: lighttpd-authorization |
| 28 | mountPath: /etc/lighttpd/authorization |
| 29 | ports: |
| 30 | - containerPort: 88 |
| 31 | readinessProbe: |
| 32 | tcpSocket: |
| 33 | port: 88 |
| 34 | initialDelaySeconds: 5 |
| 35 | periodSeconds: 10 |
| 36 | volumes: |
| 37 | - name: robot-eteshare |
| 38 | hostPath: |
Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 39 | path: /dockerdata/onapdemo/robot/eteshare |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 40 | - name: robot-assets |
| 41 | hostPath: |
Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 42 | path: /dockerdata/onapdemo/robot/robot/assets |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 43 | - name: robot-resources |
| 44 | hostPath: |
Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 45 | path: /dockerdata/onapdemo/robot/robot/resources |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 46 | - name: robot-testsuites |
| 47 | hostPath: |
Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 48 | path: /dockerdata/onapdemo/robot/robot/testsuites |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 49 | - name: lighttpd-authorization |
| 50 | hostPath: |
Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 51 | path: /dockerdata/onapdemo/robot/authorization |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 52 | imagePullSecrets: |
| 53 | - name: onap-docker-registry-key |