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 |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | spec: |
vaibhav_16dec | 425f0ed | 2018-02-16 07:15:59 +0000 | [diff] [blame] | 8 | replicas: {{ .Values.robotReplicas }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 9 | selector: |
| 10 | matchLabels: |
| 11 | app: robot |
| 12 | template: |
| 13 | metadata: |
| 14 | labels: |
| 15 | app: robot |
| 16 | name: robot |
| 17 | spec: |
| 18 | containers: |
kerenj | fc2caa6 | 2017-08-23 12:46:02 +0000 | [diff] [blame] | 19 | - image: {{ .Values.image.testsuite }} |
| 20 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | name: robot |
| 22 | volumeMounts: |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 23 | - name: localtime |
| 24 | mountPath: /etc/localtime |
| 25 | readOnly: true |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 26 | - name: robot-eteshare |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 27 | mountPath: /share/config |
| 28 | - name: robot-resources |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 29 | mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 30 | subPath: asdc_interface.robot |
| 31 | - name: robot-resources |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 32 | mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 33 | subPath: policy_interface.robot |
| 34 | - name: robot-resources |
Mandeep Khinda | c2384bd | 2017-08-25 16:23:01 +0000 | [diff] [blame] | 35 | mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 36 | subPath: sdngc_interface.robot |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 37 | - name: lighttpd-authorization |
| 38 | mountPath: /etc/lighttpd/authorization |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 39 | subPath: authorization |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 40 | ports: |
| 41 | - containerPort: 88 |
| 42 | readinessProbe: |
| 43 | tcpSocket: |
| 44 | port: 88 |
| 45 | initialDelaySeconds: 5 |
| 46 | periodSeconds: 10 |
| 47 | volumes: |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 48 | - name: localtime |
| 49 | hostPath: |
| 50 | path: /etc/localtime |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 51 | - name: robot-eteshare |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 52 | configMap: |
| 53 | name: robot-eteshare-configmap |
| 54 | defaultMode: 0755 |
| 55 | - name: robot-resources |
| 56 | configMap: |
| 57 | name: robot-resources-configmap |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 58 | - name: lighttpd-authorization |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame^] | 59 | configMap: |
| 60 | name: lighttpd-authorization-configmap |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 61 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 62 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 63 | #{{ end }} |