helm-charts/gitea-act-runner/templates/tests/test-connection.yaml

16 lines
406 B
YAML

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