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: Pod |
| 9 | metadata: |
| 10 | name: "{{ include "person-detection-app.fullname" . }}-test-connection" |
| 11 | labels: |
| 12 | {{- include "person-detection-app.labels" . | nindent 4 }} |
| 13 | annotations: |
| 14 | "helm.sh/hook": test |
| 15 | spec: |
| 16 | containers: |
| 17 | - name: wget |
| 18 | image: busybox |
| 19 | command: ['wget'] |
Hyunsun Moon | 08898d4 | 2022-05-16 14:21:38 -0700 | [diff] [blame^] | 20 | args: ['{{ include "person-detection-app.fullname" . }}:{{ .Values.service.streaming.port }}'] |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 21 | restartPolicy: Never |