bbgo_origin/charts/bbgo/templates/tests/test-connection.yaml
2020-12-15 18:57:46 +08:00

16 lines
378 B
YAML

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