charts/test-chart-1/templates/tests/test-connection.yaml

16 lines
394 B
YAML
Raw Permalink Normal View History

2024-09-20 16:32:44 -04:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "test-chart-1.fullname" . }}-test-connection"
labels:
{{- include "test-chart-1.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "test-chart-1.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never