yt-stats/charts/yt-stats-chart/templates/tests/test-connection.yaml

16 lines
400 B
YAML

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