Files
biz-api-cloud-zax/seata/script/server/helm/seata-server/templates/tests/test-connection.yaml
T

16 lines
397 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "seata-server.fullname" . }}-test-connection"
labels:
{{ include "seata-server.labels" . | indent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "seata-server.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never