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