[SEBA-157]
Add log configuration to VOLTHA chart, configured to use kafkaloghandler
Resolve conflict between VOLTHA and ONOS logging fields
Change-Id: Ia218dedbd189a95d83b7e71887216f8de391ed91
diff --git a/voltha/templates/vcore_for_etcd.yaml b/voltha/templates/vcore_for_etcd.yaml
index 206930c..4643d88 100644
--- a/voltha/templates/vcore_for_etcd.yaml
+++ b/voltha/templates/vcore_for_etcd.yaml
@@ -1,3 +1,4 @@
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -76,5 +77,14 @@
name: mystery-port
- containerPort: 50556
name: grpc-port
-
-
+ volumeMounts:
+ - name: vcore-logconfig-vol
+ mountPath: /voltha/voltha/logconfig.yml
+ subPath: logconfig.yml
+ volumes:
+ - name: vcore-logconfig-vol
+ configMap:
+ name: vcore-logconfig
+ items:
+ - key: logconfig
+ path: logconfig.yml