[VOL-2537] Logging - Implement dynamic log levels in voltha-core

Change-Id: Ie3f3c701de8154d40c34c31cf30ebc82750b0073
diff --git a/voltha/templates/rw-core.yaml b/voltha/templates/rw-core.yaml
index 724447e..fd8ad19 100644
--- a/voltha/templates/rw-core.yaml
+++ b/voltha/templates/rw-core.yaml
@@ -97,6 +97,10 @@
               valueFrom:
                 fieldRef:
                   fieldPath: status.podIP
+            - name: COMPONENT_NAME
+              valueFrom:
+                fieldRef:
+                  fieldPath: metadata.labels['app.kubernetes.io/name']
           args:
             - "/app/rw_core"
             - "-kv_store_type=etcd"