infra4talos/apps-helm/ntfy/templates/tests/test-connection.yaml

16 lines
370 B
YAML
Raw Permalink Normal View History

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