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

16 lines
382 B
YAML
Raw Normal View History

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