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

16 lines
397 B
YAML
Raw Permalink Normal View History

2022-12-30 14:31:29 +00:00
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