added new vths(smo,a1-mediator,dmaap)
[it/otf.git] / dmaap-vth / helm / dmaap-vth / templates / service.yaml
diff --git a/dmaap-vth/helm/dmaap-vth/templates/service.yaml b/dmaap-vth/helm/dmaap-vth/templates/service.yaml
new file mode 100644 (file)
index 0000000..f3bcfab
--- /dev/null
@@ -0,0 +1,18 @@
+apiVersion: v1\r
+kind: Service\r
+metadata:\r
+  name: {{ .Values.appName }}\r
+  namespace: {{ .Values.namespace}}\r
+  labels:\r
+    app: {{ .Values.appName }}\r
+    version: {{ .Values.version}}\r
+spec:\r
+  type: NodePort\r
+  ports:\r
+  - name: http\r
+    port: 5000\r
+    protocol: TCP\r
+    nodePort: {{ .Values.nodePort}}\r
+  selector:\r
+    app: {{ .Values.appName }}\r
+    version: {{ .Values.version}}\r