k8s-charts/cinny/templates/tests/test-connection.yaml

16 lines
373 B
YAML
Raw Normal View History

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