blob: fed474da08e7589a2af75fefd34f6a1fd3128637 [file] [log] [blame]
Shad Ansari0a4637a2022-05-11 12:20:59 -07001# Copyright 2020-present Open Networking Foundation
2# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
3
4apiVersion: v1
5kind: Service
6metadata:
7 name: {{ include "person-detection-app.fullname" . }}
8 labels:
9 {{- include "person-detection-app.labels" . | nindent 4 }}
10spec:
11 type: {{ .Values.service.type }}
12 ports:
13 - port: {{ .Values.service.port }}
14 targetPort: http
15 protocol: TCP
16 name: http
17 selector:
18 {{- include "person-detection-app.selectorLabels" . | nindent 4 }}