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

16 lines
382 B
YAML
Raw Normal View History

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