bbgo_origin/charts/bbgo/templates/tests/test-connection.yaml

16 lines
378 B
YAML
Raw Permalink Normal View History

2020-12-15 10:57:46 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "bbgo.fullname" . }}-test-connection"
labels:
{{- include "bbgo.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "bbgo.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never