k8s-clusters/helm-charts/chart/templates/tests/test-connection.yaml

16 lines
373 B
YAML
Raw Permalink Normal View History

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