rancher-partner-charts/charts/hpe/hpe-array-exporter/templates/tests/test-hpe-array-exporter.yaml

23 lines
680 B
YAML
Raw Normal View History

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