Helm chart for person-detection-app
Change-Id: I7069b65d6bcd3f2a722a294ff299ea8507b07261
diff --git a/apps/person-detection-app/templates/service.yaml b/apps/person-detection-app/templates/service.yaml
new file mode 100644
index 0000000..fed474d
--- /dev/null
+++ b/apps/person-detection-app/templates/service.yaml
@@ -0,0 +1,18 @@
+# Copyright 2020-present Open Networking Foundation
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "person-detection-app.fullname" . }}
+ labels:
+ {{- include "person-detection-app.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ targetPort: http
+ protocol: TCP
+ name: http
+ selector:
+ {{- include "person-detection-app.selectorLabels" . | nindent 4 }}