apiVersion: v1 kind: Pod metadata: name: "{{ template "hpe-array-exporter.fullname" . }}-test" namespace: {{ .Release.Namespace }} labels: app: {{ template "hpe-array-exporter.name" . }} chart: {{ template "hpe-array-exporter.chart" . }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} annotations: "helm.sh/hook": test spec: containers: - name: array-exporter-test image: busybox imagePullPolicy: "IfNotPresent" command: ['wget'] args: - "-O-" - '{{ include "hpe-array-exporter.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.port }}/metrics' restartPolicy: Never