adding vth code as well as aaf and cert config
[it/otf.git] / otf-ping-test-head / helm / otf-ping-test-head / templates / service.yaml
diff --git a/otf-ping-test-head/helm/otf-ping-test-head/templates/service.yaml b/otf-ping-test-head/helm/otf-ping-test-head/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