#{{ if not .Values.disableRobotRobot }} apiVersion: extensions/v1beta1 kind: Deployment metadata: name: robot namespace: "{{ .Values.nsPrefix }}" spec: replicas: {{ .Values.robotReplicas }} selector: matchLabels: app: robot template: metadata: labels: app: robot name: robot spec: containers: - image: {{ .Values.image.testsuite }} imagePullPolicy: {{ .Values.pullPolicy }} name: robot volumeMounts: - name: localtime mountPath: /etc/localtime readOnly: true - name: robot-eteshare mountPath: /share/config - name: robot-resources mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot subPath: asdc_interface.robot - name: robot-resources mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot subPath: policy_interface.robot - name: robot-resources mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot subPath: sdngc_interface.robot - name: lighttpd-authorization mountPath: /etc/lighttpd/authorization subPath: authorization ports: - containerPort: 88 readinessProbe: tcpSocket: port: 88 initialDelaySeconds: 5 periodSeconds: 10 volumes: - name: localtime hostPath: path: /etc/localtime - name: robot-eteshare configMap: name: robot-eteshare-configmap defaultMode: 0755 - name: robot-resources configMap: name: robot-resources-configmap - name: lighttpd-authorization configMap: name: lighttpd-authorization-configmap imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" #{{ end }}