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

16 lines
384 B
YAML
Raw Normal View History

2023-03-26 20:16:41 +00:00
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