| gio | c916187 | 2024-04-21 10:46:35 +0400 | [diff] [blame] | 1 | --- |
| 2 | apiVersion: "v1" | ||||
| 3 | kind: "Pod" | ||||
| 4 | metadata: | ||||
| 5 | name: "{{ include "common.names.fullname" . }}-test-connection" | ||||
| 6 | labels: | ||||
| 7 | {{- include "common.labels.standard" . | nindent 4 }} | ||||
| 8 | annotations: | ||||
| 9 | "helm.sh/hook": test | ||||
| 10 | spec: | ||||
| 11 | containers: | ||||
| 12 | - name: "wget" | ||||
| 13 | image: "busybox" | ||||
| 14 | command: ['wget'] | ||||
| 15 | args: | ||||
| 16 | - '--no-verbose' | ||||
| 17 | - '--tries=1' | ||||
| 18 | - '--spider' | ||||
| 19 | - '{{ include "common.names.fullname" . }}:{{ .Values.service.ports.http.port }}/health_check' | ||||
| 20 | restartPolicy: "Never" | ||||
| 21 | ... | ||||