yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableRobotRobot }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: robot |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-robot" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | spec: |
| 8 | selector: |
| 9 | matchLabels: |
| 10 | app: robot |
| 11 | template: |
| 12 | metadata: |
| 13 | labels: |
| 14 | app: robot |
| 15 | name: robot |
| 16 | spec: |
| 17 | containers: |
kerenj | fc2caa6 | 2017-08-23 12:46:02 +0000 | [diff] [blame] | 18 | - image: {{ .Values.image.testsuite }} |
| 19 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 20 | name: robot |
| 21 | volumeMounts: |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 22 | - name: localtime |
| 23 | mountPath: /etc/localtime |
| 24 | readOnly: true |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 25 | - name: robot-eteshare |
| 26 | mountPath: /share |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 27 | - 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 33 | - name: lighttpd-authorization |
| 34 | mountPath: /etc/lighttpd/authorization |
Mandeep Khinda | dc2dc86 | 2017-09-08 05:20:30 +0000 | [diff] [blame] | 35 | - 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 43 | ports: |
| 44 | - containerPort: 88 |
| 45 | readinessProbe: |
| 46 | tcpSocket: |
| 47 | port: 88 |
| 48 | initialDelaySeconds: 5 |
| 49 | periodSeconds: 10 |
| 50 | volumes: |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 51 | - name: localtime |
| 52 | hostPath: |
| 53 | path: /etc/localtime |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 54 | - name: robot-eteshare |
| 55 | hostPath: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 56 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 57 | - name: robot-resources-asdc-interface |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 58 | hostPath: |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 59 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot |
| 60 | - name: robot-resources-policy-interface |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 61 | hostPath: |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 62 | 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 66 | - name: lighttpd-authorization |
| 67 | hostPath: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 68 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization |
Mandeep Khinda | dc2dc86 | 2017-09-08 05:20:30 +0000 | [diff] [blame] | 69 | - 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 Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 81 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 82 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 83 | #{{ end }} |