Wei-Yu Chen | 16d5914 | 2022-06-08 18:25:01 +0800 | [diff] [blame] | 1 | {{/* |
| 2 | # Copyright 2022-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | */}} |
| 6 | |
| 7 | apiVersion: v1 |
| 8 | kind: Pod |
| 9 | metadata: |
| 10 | name: "{{ include "aether-enodebd.fullname" . }}-test-connection" |
| 11 | labels: |
| 12 | {{- include "aether-enodebd.labels" . | nindent 4 }} |
| 13 | annotations: |
| 14 | "helm.sh/hook": test |
| 15 | spec: |
| 16 | containers: |
| 17 | - name: wget |
| 18 | image: busybox |
| 19 | command: ['wget'] |
| 20 | args: ['{{ include "aether-enodebd.fullname" . }}:{{ .Values.service.port }}'] |
| 21 | restartPolicy: Never |