maubot/helm/templates/tests/test-connection.yaml
2024-04-24 14:47:58 +02:00

16 lines
376 B
YAML

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