apiVersion: v1 kind: Pod metadata: name: "{{ template "nginx.fullname" . }}-service-test" labels: heritage: {{ .Release.Service }} release: {{ .Release.Name }} chart: {{ .Chart.Name }}-{{ .Chart.Version }} app: {{ template "nginx.name" . }} annotations: "helm.sh/hook": test-success spec: containers: - name: curl image: radial/busyboxplus:curl command: ['curl'] args: ['{{ template "nginx.fullname" . }}:{{ .Values.service.port }}'] restartPolicy: Never