aboutsummaryrefslogtreecommitdiffstats
path: root/robot-deployment.yaml
blob: 2d023edfa8624357d0eca99ccf013fd96e2cfb3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: robot
spec:
  selector:
    matchLabels:
      app: robot
  template:
    metadata:
       labels:
        app: robot
       name: robot
    spec:
      containers:
      - image: nexus3.onap.org:10001/openecomp/testsuite:1.1-STAGING-latest
        name: robot
        volumeMounts:
        - 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: lighttpd-authorization
          mountPath: /etc/lighttpd/authorization
        ports:
        - containerPort: 88
        readinessProbe:
          tcpSocket:
            port: 88
          initialDelaySeconds: 5
          periodSeconds: 10
      volumes:
        - name: robot-eteshare
          hostPath:
            path: /dockerdata/onapdemo/robot/eteshare
        - name: robot-assets
          hostPath:
            path: /dockerdata/onapdemo/robot/robot/assets
        - name: robot-resources
          hostPath:
            path: /dockerdata/onapdemo/robot/robot/resources
        - name: robot-testsuites
          hostPath:
            path: /dockerdata/onapdemo/robot/robot/testsuites
        - name: lighttpd-authorization
          hostPath:
            path: /dockerdata/onapdemo/robot/authorization
      imagePullSecrets:
      - name: onap-docker-registry-key