662614c97d94a4ae2701d24c4141204c24e01b8c
[nonrtric/plt/ranpm.git] / install / helm / nrt-base-1 / charts / ves-mr / templates / app-deployment-message-router.yaml
1
2 apiVersion: apps/v1
3 kind: Deployment
4 metadata:
5   name: message-router
6   namespace: nonrtric
7   labels:
8     app: message-router
9
10 spec:
11   selector:
12     matchLabels:
13       app: message-router
14   serviceName: message-router
15   replicas: 1
16   template:
17     metadata:
18       labels:
19         app.kubernetes.io/name: message-router
20         app: message-router
21       name: message-router
22     spec:
23       containers:
24         - name: message-router
25           image: nexus3.onap.org:10002/onap/dmaap/dmaap-mr:1.4.4
26           imagePullPolicy: Always
27           ports:
28           - containerPort: 3904
29             name: api
30
31           env:
32           # - name: JAASLOGIN
33           #   valueFrom:
34           #     secretKeyRef:
35           #       name: strimzi-kafka-admin
36           #       key: sasl.jaas.config
37           # - name: SASLMECH
38           #   value: scram-sha-512
39           - name: enableCadi
40             value: "false"
41           - name: useZkTopicStore
42             value: "false"
43           volumeMounts:
44             - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
45               subPath: MsgRtrApi.properties
46               name: msgrtrapi
47             - mountPath: /appl/dmaapMR1/bundleconfig/etc/logback.xml
48               subPath: logback.xml
49               name: logback
50       volumes:
51         - name: msgrtrapi
52           configMap:
53             name: msgrtrapi
54         - name: logback
55           configMap:
56             name: logback