opengist/deploy/helm/templates/tests/test-connection.yaml

16 lines
386 B
YAML
Raw Normal View History

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