apiVersion: v1 kind: Pod metadata: name: {{ include "common.names.fullname" . }}-test-connection namespace: {{ include "common.names.namespace" . | quote }} {{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.service.labels .Values.commonLabels ) "context" . ) }} labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }} annotations: "helm.sh/hook": test spec: containers: - name: wget image: busybox command: ['wget'] args: ['{{ include "common.names.fullname" . }}:{{ .Values.service.ports.http }}'] restartPolicy: Never