blob: caba73e8192ec4fe2f4f0a9f655a5d137d85b086 [file] [log] [blame]
Hyunsun Moon97e111d2022-05-13 17:56:56 -07001{{/*
2# Copyright 2022-present Open Networking Foundation
3
4# SPDX-License-Identifier: Apache-2.0
5*/}}
Shad Ansari0a4637a2022-05-11 12:20:59 -07006
7apiVersion: v1
8kind: Service
9metadata:
10 name: {{ include "person-detection-app.fullname" . }}
11 labels:
12 {{- include "person-detection-app.labels" . | nindent 4 }}
13spec:
14 type: {{ .Values.service.type }}
15 ports:
16 - port: {{ .Values.service.port }}
17 targetPort: http
18 protocol: TCP
19 name: http
Hyunsun Mooncb887bf2022-05-16 12:36:07 -070020 - port: {{ .Values.service.port }}
21 protocol: UDP
Shad Ansari0a4637a2022-05-11 12:20:59 -070022 selector:
23 {{- include "person-detection-app.selectorLabels" . | nindent 4 }}