ungleich-k8s/apps/gitea/templates/tests/test-connection.yaml

14 lines
286 B
YAML
Raw Normal View History

2021-06-27 16:12:03 +00:00
apiVersion: v1
kind: Pod
metadata:
2021-06-27 17:23:49 +00:00
name: "{{ tpl .Values.identifier . }}-test-connection"
2021-06-27 16:12:03 +00:00
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
2021-06-27 17:30:28 +00:00
args: ['https://{{ tpl .Values.fqdn . }}']
2021-06-27 16:12:03 +00:00
restartPolicy: Never