Exposing ONOS debug port

Change-Id: If7d96d555a3ee5c7ec455e2a1c1d835589c74961
diff --git a/configs/onos.yaml b/configs/onos.yaml
index ac265a9..e48b482 100644
--- a/configs/onos.yaml
+++ b/configs/onos.yaml
@@ -21,7 +21,7 @@
 nameOverride: "onos"
 fullnameOverride: "onos"
 
-onosImage: 'onosproject/onos:1.13.2'
+onosImage: 'onosproject/onos:1.13.3'
 
 services:
   openflowServiceType: NodePort
@@ -34,6 +34,9 @@
     nodePort: 30115
   ui:
     nodePort: 30120
+  debugger:
+    nodePort: 30555
+
 
 xos_service_label: ONOS
 
diff --git a/onos/templates/debugger-service.yaml b/onos/templates/debugger-service.yaml
new file mode 100644
index 0000000..79f266b
--- /dev/null
+++ b/onos/templates/debugger-service.yaml
@@ -0,0 +1,32 @@
+# Copyright 2017-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.
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: {{ template "onos.fullname" . }}-debugger
+  namespace: {{ .Values.namespace }}
+  labels:
+    app: {{ template "onos.name" . }}
+    chart: {{ template "onos.chart" . }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
+spec:
+  type: {{ .Values.services.debuggerServiceType }}
+  ports:
+  - name: debugger
+{{ toYaml .Values.services.debugger | indent 4 }}
+  selector:
+    app: {{ template "onos.name" . }}
+    release: {{ .Release.Name }}
diff --git a/onos/values.yaml b/onos/values.yaml
index e1e55a6..f6c1c9a 100644
--- a/onos/values.yaml
+++ b/onos/values.yaml
@@ -34,6 +34,7 @@
   ovsdbServiceType: ClusterIP
   sshServiceType: ClusterIP
   uiServiceType: ClusterIP
+  debuggerServiceType: NodePort
   ovsdb:
     port: 6640
   openflow:
@@ -42,6 +43,8 @@
     port: 8101
   ui:
     port: 8181
+  debugger:
+    port: 5005
   cluster:
     port: 9876