Files
chart/templates/tests/test-connection.yaml
Konstantin Grachev a8d7b1c894
All checks were successful
continuous-integration/drone/push Build is passing
cs: yaml
2023-02-28 22:09:42 +03:00

16 lines
378 B
YAML

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