distro-tools/deploy/apollo/apollo-server/templates/tests/test-connection.yaml
2023-02-02 17:55:58 +01:00

16 lines
397 B
YAML

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