charts/netbox/templates/tests/test-connection.yaml
Alexander Olofsson c8476d492e Initial commit
2019-05-17 10:57:08 +02:00

18 lines
553 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "netbox.fullname" . }}-test-connection"
labels:
app.kubernetes.io/name: {{ include "netbox.name" . }}
helm.sh/chart: {{ include "netbox.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "netbox.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never