---
apiVersion: "v1"
kind: "Pod"
metadata:
  name: "{{ include "common.names.fullname" . }}-test-connection"
  labels:
    {{- include "common.labels.standard" . | nindent 4 }}
  annotations:
    "helm.sh/hook": test
spec:
  containers:
    - name: "wget"
      image: "busybox"
      command: ['wget']
      args:
        - '--no-verbose'
        - '--tries=1'
        - '--spider'
        - '{{ include "common.names.fullname" . }}:{{ .Values.service.ports.http.port }}/health_check'
  restartPolicy: "Never"
...
