Moving extra debug in values file
Change-Id: I35ee208ac2a3dbc956341d9c4242fbba36519a2c
diff --git a/configs/onos-voltha-debug.yaml b/configs/onos-voltha-debug.yaml
new file mode 100644
index 0000000..f80fdfc
--- /dev/null
+++ b/configs/onos-voltha-debug.yaml
@@ -0,0 +1,51 @@
+---
+
+# Copyright 2018-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Expose ONOS services using NodePorts, for onos-voltha configuration
+#
+# helm install onos -f configs/onos-voltha.yaml -n onos-voltha
+
+nameOverride: "onosv"
+fullnameOverride: "onos-voltha"
+
+onosImage: 'onosproject/onos:1.13.2'
+
+services:
+ openflowServiceType: ClusterIP
+ ovsdbServiceType: ClusterIP
+ sshServiceType: NodePort
+ uiServiceType: NodePort
+ ssh:
+ nodePort: 30115
+ ui:
+ nodePort: 30120
+
+onos_env:
+- name: POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+- name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+- name: ONOS_APPS
+ value: "drivers,openflow-base"
+
+application_logs: |
+ log4j.logger.org.opencord.olt = DEBUG
+ log4j.logger.org.opencord.kafka = DEBUG
+ log4j.logger.org.opencord.sadis = DEBUG
\ No newline at end of file
diff --git a/onos/templates/_helpers.tpl b/onos/templates/_helpers.tpl
index d36eca1..23e4c6a 100644
--- a/onos/templates/_helpers.tpl
+++ b/onos/templates/_helpers.tpl
@@ -95,6 +95,6 @@
log4j.appender.sift.appender.append=true
# Application logs
-log4j.logger.org.opencord.olt = DEBUG
-log4j.logger.org.opencord.kafka = DEBUG
+{{ .Values.application_logs }}
+
{{- end -}}
\ No newline at end of file
diff --git a/onos/values.yaml b/onos/values.yaml
index 0e9bfba..e1e55a6 100644
--- a/onos/values.yaml
+++ b/onos/values.yaml
@@ -56,3 +56,5 @@
affinity: {}
xos_service_label: ""
+
+application_logs: ""