jormungandr-bite/chart/templates/tests/test-connection.yaml

16 lines
382 B
YAML
Raw Normal View History

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