helm-chart-genes/charts/apache-genes/templates/tests/test-connection.yaml

16 lines
394 B
YAML
Raw Normal View History

2024-04-19 10:24:49 +02:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "apache-genes.fullname" . }}-test-connection"
labels:
{{- include "apache-genes.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "apache-genes.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never