softplayer-helmfile/charts/softplayer-backend/templates/tests/test-connection.yaml

16 lines
412 B
YAML
Raw Permalink Normal View History

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