SEBA-745 update-helm-chart-for-exporter-configmap

Change-Id: I38f09e8b6dd27b2d5443088f43de6bc12252605e
diff --git a/nem-monitoring/Chart.yaml b/nem-monitoring/Chart.yaml
index cebad75..b563302 100644
--- a/nem-monitoring/Chart.yaml
+++ b/nem-monitoring/Chart.yaml
@@ -15,4 +15,4 @@
 
 name: nem-monitoring
 description: Time Series Storage and Dashboard for SEBA
-version: 1.0.2
+version: 1.0.3
diff --git a/nem-monitoring/exporter-config/conf.yaml b/nem-monitoring/exporter-config/conf.yaml
new file mode 100644
index 0000000..29d5fb1
--- /dev/null
+++ b/nem-monitoring/exporter-config/conf.yaml
@@ -0,0 +1,17 @@
+---
+broker:
+  name: broker-name
+  host: cord-kafka.default.svc.cluster.local:9092
+  description: The kafka broker
+  topics:
+    - onos.aaa.stats.kpis
+    - onos.kpis
+    - voltha.kpis
+logger:
+  loglevel: info
+  host: cord-kafka.default.svc.cluster.local:9092
+target:
+  type: prometheus-target
+  name: http-server
+  port: 8080
+  description: http target for prometheus
diff --git a/nem-monitoring/templates/exporter-configmap.yaml b/nem-monitoring/templates/exporter-configmap.yaml
new file mode 100644
index 0000000..4707e31
--- /dev/null
+++ b/nem-monitoring/templates/exporter-configmap.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: exporter-configmap
+data:
+  conf.yaml: |
+{{ .Files.Get "exporter-config/conf.yaml" | indent 4 }}
diff --git a/nem-monitoring/templates/exporter-deployment.yaml b/nem-monitoring/templates/exporter-deployment.yaml
index 530d952..acad8e4 100644
--- a/nem-monitoring/templates/exporter-deployment.yaml
+++ b/nem-monitoring/templates/exporter-deployment.yaml
@@ -36,3 +36,11 @@
             - containerPort: 8080
               port: 8080
               protocol: TCP
+          volumeMounts:
+            - name: exporter-config
+              mountPath: /etc/config/conf.yaml
+              subPath: conf.yaml
+      volumes:
+        - name: exporter-config
+          configMap:
+            name: exporter-configmap