iceshrimp/chart/templates/tests/test-connection.yaml

16 lines
382 B
YAML
Raw Normal View History

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