serge-helm-chart/templates/tests/test-connection.yaml

16 lines
382 B
YAML
Raw Normal View History

2023-04-13 13:27:14 -04:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "serge-ai.fullname" . }}-test-connection"
labels:
{{- include "serge-ai.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "serge-ai.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never