Updated installation and components
[nonrtric/plt/ranpm.git] / install / helm / nrt-base-1 / charts / ves-mr / templates / app-deployment-ves-collector.yaml
1
2 apiVersion: apps/v1
3 kind: Deployment
4 metadata:
5   name: ves-collector
6   namespace: nonrtric
7   labels:
8     run: ves-collector
9 spec:
10   selector:
11     matchLabels:
12       run: ves-collector
13   template:
14     metadata:
15       labels:
16         run: ves-collector
17     spec:
18       volumes:
19         - name: conf-vol1
20           configMap:
21             name: ves-collector-collector.properties
22         - name: conf-vol2
23           configMap:
24             name: ves-collector-ves-dmaap-config.json
25       containers:
26       - name: ves-collector
27         image: nexus3.onap.org:10002/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.12.3
28         imagePullPolicy: IfNotPresent
29         env:
30         - name: DMAAPHOST
31           value: message-router.nonrtric
32         ports:
33         - name: http
34           containerPort: 8080
35         - name: https
36           containerPort: 8443
37         volumeMounts:
38         - name: conf-vol1
39           mountPath: /opt/app/VESCollector/etc/collector.properties
40           subPath: collector.properties
41         - name: conf-vol2
42           mountPath: /opt/app/VESCollector/etc/ves-dmaap-config.json
43           subPath: ves-dmaap-config.json