meal_homework/helmchart/templates/tests/test-connection.yaml
Torma Kristóf 24d0e0e1b6
All checks were successful
continuous-integration/drone/push Build is passing
add helmchart
2022-02-13 22:55:18 +01:00

16 lines
385 B
YAML

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