x86_64-alpine-sonarr/chart/sonarr/templates/tests/test-connection.yaml
2021-06-27 16:52:50 +08:00

16 lines
380 B
YAML

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