rudeshark.net/chart/templates/tests/test-connection.yaml

16 lines
382 B
YAML
Raw Normal View History

2023-05-11 01:07:45 +02:00
apiVersion: v1
kind: Pod
metadata:
2023-07-03 00:18:30 +02:00
name: "{{ include "firefish.fullname" . }}-test-connection"
2023-05-11 01:07:45 +02:00
labels:
2023-07-03 00:18:30 +02:00
{{- include "firefish.labels" . | nindent 4 }}
2023-05-11 01:07:45 +02:00
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
2023-07-03 00:18:30 +02:00
args: ['{{ include "firefish.fullname" . }}:{{ .Values.service.port }}']
2023-05-11 01:07:45 +02:00
restartPolicy: Never