vmpooler-deployment/helm-charts/vmpooler/templates/tests/test-connection.yaml

15 lines
390 B
YAML

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