blob: 92d6421390692b08c1182310c3287c60e5663cb1 [file] [log] [blame]
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: robot
namespace: "{{ .Values.nsPrefix }}-robot"
spec:
selector:
matchLabels:
app: robot
template:
metadata:
labels:
app: robot
name: robot
spec:
containers:
- image: {{ .Values.image.testsuite }}
imagePullPolicy: {{ .Values.pullPolicy }}
name: robot
volumeMounts:
- name: robot-eteshare
mountPath: /share
- name: robot-resources-openstack-keystone-int
mountPath: /var/opt/OpenECOMP_ETE/robot/resources/openstack/keystone_interface.robot
- 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
- name: robot-assets-asdc-base-clearwater-env
mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_clearwater/base_clearwater.env
- name: robot-assets-asdc-base-vfw-env
mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vfw/base_vfw.env
- name: robot-assets-asdc-base-vlb-env
mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vlb/base_vlb.env
- name: robot-assets-asdc-base-vlb-dns-env
mountPath: /var/opt/OpenECOMP_ETE/robot/assets/asdc/base_vlb/dnsscaling.env
ports:
- containerPort: 88
readinessProbe:
tcpSocket:
port: 88
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- name: robot-eteshare
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare
- name: robot-resources-openstack-keystone-int
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/openstack/keystone_interface.robot
- name: robot-resources-asdc-interface
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/asdc_interface.robot
- name: robot-resources-policy-interface
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/policy_interface.robot
- name: robot-resources-sdngc-interface
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources/sdngc_interface.robot
- name: lighttpd-authorization
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization
- name: robot-assets-asdc-base-clearwater-env
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_clearwater/base_clearwater.env
- name: robot-assets-asdc-base-vfw-env
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vfw/base_vfw.env
- name: robot-assets-asdc-base-vlb-env
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/base_vlb.env
- name: robot-assets-asdc-base-vlb-dns-env
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets/asdc/base_vlb/dnsscaling.env
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"