github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/chatgpt-retrieval-plugin/templates/tests/test-connection.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: "{{ include "gptplugin.fullname" . }}-test-connection"
     5    labels:
     6      {{- include "gptplugin.labels" . | nindent 4 }}
     7    annotations:
     8      "helm.sh/hook": test
     9  spec:
    10    containers:
    11      - name: wget
    12        image: busybox
    13        command: ['wget']
    14        args: ['{{ include "gptplugin.fullname" . }}:{{ .Values.service.port }}']
    15    restartPolicy: Never