christmas/chart/templates/tests/test-connection.yaml

16 lines
415 B
YAML
Raw Normal View History

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