blob: 1d7e02cc25c5273d4d083e47708e5f364fd1b7ba [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
20 selector:
21 {{- include "person-detection-app.selectorLabels" . | nindent 4 }}