[VOL-2311] Exposing log level in the helm-chart

Change-Id: I378497032943f7361561c52035c3f013420af60f
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index feae5be..c0b1e8b 100644
--- a/voltha-adapter-openonu/Chart.yaml
+++ b/voltha-adapter-openonu/Chart.yaml
@@ -17,5 +17,5 @@
 description: A Helm chart for Voltha OpenONU Adapter
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 2.1.9
-appVersion: 2.2.4
+version: 2.1.10
+appVersion: 2.2.5
diff --git a/voltha-adapter-openonu/templates/adapters-openonu.yaml b/voltha-adapter-openonu/templates/adapters-openonu.yaml
index 1b3f5f4..a78829f 100644
--- a/voltha-adapter-openonu/templates/adapters-openonu.yaml
+++ b/voltha-adapter-openonu/templates/adapters-openonu.yaml
@@ -64,7 +64,12 @@
           imagePullPolicy: {{ tpl .Values.images.adapter_open_onu.pullPolicy . }}
           args:
             - "/voltha/adapters/brcm_openomci_onu/main.py"
+            {{- if eq .Values.adapter_open_onu.log_level "DEBUG" }}
             - "--verbose"
+            {{- end }}
+            {{- if eq .Values.adapter_open_onu.log_level "WARN" }}
+            - "--quiet"
+            {{- end }}
             - "--kafka_adapter={{ .Values.services.kafka.adapter.service }}:{{ .Values.services.kafka.adapter.port }}"
             - "--kafka_cluster={{ .Values.services.kafka.cluster.service }}:{{ .Values.services.kafka.cluster.port }}"
             - "--core_topic=rwcore"
diff --git a/voltha-adapter-openonu/values.yaml b/voltha-adapter-openonu/values.yaml
index 4c2459f..b1d02dc 100644
--- a/voltha-adapter-openonu/values.yaml
+++ b/voltha-adapter-openonu/values.yaml
@@ -29,7 +29,7 @@
     cluster:
       service: voltha-kafka.voltha.svc.cluster.local
       port: 9092
-  
+
   # Define connectivity to etcd
   etcd:
     service: voltha-etcd-cluster-client.voltha.svc.cluster.local
@@ -39,6 +39,9 @@
 replicas:
   adapter_open_onu: 1
 
+adapter_open_onu:
+  log_level: INFO
+
 images:
   adapter_open_onu:
     registry: '{{ .Values.defaults.image_registry }}'