apiVersion: v1
kind: Pod
metadata:
  name: "{{ include "kibana.fullname" . }}-test-connection"
  labels: {{- include "kibana.labels" . | nindent 4 }}
    app: test-connection
  annotations:
    "helm.sh/hook": test-success
spec:
  containers:
    - name: wget
      image: bitnami/minideb
      command: ['wget']
      args: ['{{ include "kibana.fullname" . }}:{{ .Values.service.port }}']
  restartPolicy: Never
