meal_homework/helmchart/templates/tests/test-connection.yaml

16 lines
385 B
YAML
Raw Permalink Normal View History

2022-02-13 22:55:18 +01:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "helmchart.fullname" . }}-test-connection"
labels:
{{- include "helmchart.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "helmchart.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never