docs/deploy/helm/templates/tests/test-connection.yaml

15 lines
397 B
YAML

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