Files
chart/templates/tests/test-connection.yaml
Konstantin Grachev 3a6ce19ffe
All checks were successful
continuous-integration/drone/push Build is passing
fix: use serverPort from config.port, add default value #2
2023-02-28 22:20:21 +03:00

16 lines
377 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.config.port }}' ]
restartPolicy: Never