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