tianji/k8s/helm/templates/tests/test-connection.yaml

16 lines
376 B
YAML
Raw Normal View History

2024-06-09 05:48:06 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "tianji.fullname" . }}-test-connection"
labels:
{{- include "tianji.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "tianji.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never