heart/helm/templates/tests/test-connection.yaml

16 lines
373 B
YAML
Raw Normal View History

2022-09-07 13:28:52 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "heart.fullname" . }}-test-connection"
labels:
{{- include "heart.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "heart.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never