First version of ThingsBoard IoT Platform - an Aether edge app

Change-Id: Ia94164fb6ec9b1f2a31668b0e419f05e72eac27c
diff --git a/apps/thingsboard-iot-platform/templates/service-web-ui.yaml b/apps/thingsboard-iot-platform/templates/service-web-ui.yaml
new file mode 100644
index 0000000..1837a75
--- /dev/null
+++ b/apps/thingsboard-iot-platform/templates/service-web-ui.yaml
@@ -0,0 +1,38 @@
+{{- /*
+
+# Copyright 2020-present Open Networking Foundation
+#
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+*/ -}}
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: tb-web-ui
+spec:
+  type: ClusterIP
+  selector:
+    app: tb-web-ui
+  ports:
+    - port: {{ .Values.config.webUi.port }}
+      name: http
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: tb-web-ui-external
+spec:
+  type: NodePort
+  selector:
+    app: tb-web-ui
+  ports:
+    {{- if .Values.config.webUi.nodePort.enabled }}
+    - port: {{ .Values.config.webUi.port }}
+      name: http
+      protocol: TCP
+      nodePort: {{ .Values.config.webUi.nodePort.port }}
+  {{- end }}
\ No newline at end of file