distro-tools/deploy/apollo/apollo-server/templates/tests/test-connection.yaml

16 lines
397 B
YAML
Raw Permalink Normal View History

2023-02-02 16:55:58 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "apollo-server.fullname" . }}-test-connection"
labels:
{{- include "apollo-server.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "apollo-server.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never