Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame^] | 1 | # Copyright 2020-present Open Networking Foundation |
| 2 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 3 | |
| 4 | apiVersion: v1 |
| 5 | kind: Pod |
| 6 | metadata: |
| 7 | name: "{{ include "person-detection-app.fullname" . }}-test-connection" |
| 8 | labels: |
| 9 | {{- include "person-detection-app.labels" . | nindent 4 }} |
| 10 | annotations: |
| 11 | "helm.sh/hook": test |
| 12 | spec: |
| 13 | containers: |
| 14 | - name: wget |
| 15 | image: busybox |
| 16 | command: ['wget'] |
| 17 | args: ['{{ include "person-detection-app.fullname" . }}:{{ .Values.service.port }}'] |
| 18 | restartPolicy: Never |