trashposs/chart/templates/tests/test-connection.yaml
2024-04-06 23:55:59 +02:00

16 lines
385 B
YAML

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