+#{{ if not .Values.disableRobotRobot }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: robot
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-robot"
spec:
selector:
matchLabels:
imagePullPolicy: {{ .Values.pullPolicy }}
name: robot
volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
- name: robot-eteshare
mountPath: /share
- - name: robot-assets
- mountPath: /var/opt/OpenECOMP_ETE/robot/assets
- - name: robot-resources
- mountPath: /var/opt/OpenECOMP_ETE/robot/resources
- - name: robot-testsuites
- mountPath: /var/opt/OpenECOMP_ETE/robot/testsuites
+ - name: robot-resources-asdc-interface
+ mountPath: /var/opt/OpenECOMP_ETE/robot/resources/asdc_interface.robot
+ - name: robot-resources-policy-interface
+ mountPath: /var/opt/OpenECOMP_ETE/robot/resources/policy_interface.robot
+ - name: robot-resources-sdngc-interface
+ mountPath: /var/opt/OpenECOMP_ETE/robot/resources/sdngc_interface.robot
- name: lighttpd-authorization
mountPath: /etc/lighttpd/authorization
ports:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: robot-eteshare
hostPath:
- path: /dockerdata-nfs/onap/robot/eteshare
- - name: robot-assets
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
+ - name: robot-resources-asdc-interface
hostPath:
- path: /dockerdata-nfs/onap/robot/robot/assets
- - name: robot-resources
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
+ - name: robot-resources-policy-interface
hostPath:
- path: /dockerdata-nfs/onap/robot/robot/resources
- - name: robot-testsuites
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/policy_interface.robot
+ - name: robot-resources-sdngc-interface
hostPath:
- path: /dockerdata-nfs/onap/robot/robot/testsuites
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
- name: lighttpd-authorization
hostPath:
- path: /dockerdata-nfs/onap/robot/authorization
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file