blob: bd634626c87431bdad45a9c2a9a1e52ff5d81706 [file] [log] [blame]
gioc9161872024-04-21 10:46:35 +04001---
2apiVersion: "v1"
3kind: "Pod"
4metadata:
5 name: "{{ include "common.names.fullname" . }}-test-connection"
6 labels:
7 {{- include "common.labels.standard" . | nindent 4 }}
8 annotations:
9 "helm.sh/hook": test
10spec:
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...