Helm chart for network-diag-app
Change-Id: I6bec9210ccb424cc940fb67c6091e4c545e267ad
diff --git a/network-diag-app/templates/service.yaml b/network-diag-app/templates/service.yaml
new file mode 100644
index 0000000..76d5255
--- /dev/null
+++ b/network-diag-app/templates/service.yaml
@@ -0,0 +1,20 @@
+{{/*
+# Copyright 2022-present Intel Corporation
+#
+# SPDX-License-Identifier: Apache-2.0
+*/}}
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "network-test.fullname" . }}
+ labels:
+ {{- include "network-test.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ protocol: TCP
+ name: http
+ selector:
+ {{- include "network-test.selectorLabels" . | nindent 4 }}