infra4talos/apps-helm/uptime-kuma/templates/tests/test-connection.yaml

16 lines
391 B
YAML
Raw Permalink Normal View History

2023-12-07 15:10:22 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "uptime-kuma.fullname" . }}-test-connection"
labels:
{{- include "uptime-kuma.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "uptime-kuma.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never