ungleich-k8s/apps/gitea/templates/tests/test-connection.yaml
2021-06-27 18:12:03 +02:00

15 lines
373 B
YAML

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