k8s-charts/charts/unifi-controller/templates/tests/test-connection.yaml

16 lines
384 B
YAML

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