k8s-charts/charts/tandoor-recipes/templates/tests/test-connection.yaml

16 lines
403 B
YAML
Raw Normal View History

2023-10-04 20:37:53 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "tandoor-recipes.fullname" . }}-test-connection"
labels:
{{- include "tandoor-recipes.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "tandoor-recipes.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never