Hyunsun Moon | 97e111d | 2022-05-13 17:56:56 -0700 | [diff] [blame^] | 1 | {{/* |
| 2 | # Copyright 2022-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | */}} |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 6 | |
| 7 | apiVersion: v1 |
| 8 | kind: Service |
| 9 | metadata: |
| 10 | name: {{ include "person-detection-app.fullname" . }} |
| 11 | labels: |
| 12 | {{- include "person-detection-app.labels" . | nindent 4 }} |
| 13 | spec: |
| 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 }} |