ungleich-k8s/apps/netbox/templates/tests/test-connection.yaml

16 lines
376 B
YAML
Raw Normal View History

2021-10-21 06:38:40 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "netbox.fullname" . }}-test-connection"
labels:
{{- include "netbox.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "netbox.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never