VOL-2501 Fix bug with setting log level

Change-Id: I841a34bdcd94d9815a2c76193fe82876ab473d22
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index 724511c..8325002 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.2.0
+version: 2.2.1
 appVersion: 2.2.6
diff --git a/voltha-adapter-openonu/templates/adapters-openonu.yaml b/voltha-adapter-openonu/templates/adapters-openonu.yaml
index a78829f..3c72078 100644
--- a/voltha-adapter-openonu/templates/adapters-openonu.yaml
+++ b/voltha-adapter-openonu/templates/adapters-openonu.yaml
@@ -64,10 +64,10 @@
           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" }}
+            {{- if eq (tpl .Values.adapter_open_onu.log_level .) "DEBUG" }}
             - "--verbose"
             {{- end }}
-            {{- if eq .Values.adapter_open_onu.log_level "WARN" }}
+            {{- if eq (tpl .Values.adapter_open_onu.log_level .) "WARN" }}
             - "--quiet"
             {{- end }}
             - "--kafka_adapter={{ .Values.services.kafka.adapter.service }}:{{ .Values.services.kafka.adapter.port }}"