helm-charts/wikijs/templates/tests/test-connection.yaml

16 lines
378 B
YAML
Raw Normal View History

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