charts/funkwhale/templates/tests/test-connection.yaml
Alexander Olofsson c8476d492e Initial commit
2019-05-17 10:57:08 +02:00

18 lines
565 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "funkwhale.fullname" . }}-test-connection"
labels:
app.kubernetes.io/name: {{ include "funkwhale.name" . }}
helm.sh/chart: {{ include "funkwhale.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "funkwhale.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never