mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 13:07:17 -04:00
Add basic helm test
See https://github.com/wekan/charts/pull/2 and https://helm.sh/docs/topics/chart_tests/
This commit is contained in:
parent
b84cc037c1
commit
f094dfb84f
1 changed files with 19 additions and 0 deletions
19
helm/wekan/templates/tests/test-http.yaml
Normal file
19
helm/wekan/templates/tests/test-http.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ template "wekan.fullname" . }}-test-http"
|
||||
labels:
|
||||
app: {{ template "wekan.name" . }}
|
||||
chart: {{ template "wekan.chart" . }}
|
||||
component: wekan
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
annotations:
|
||||
"helm.sh/hook": test
|
||||
spec:
|
||||
containers:
|
||||
- name: wget
|
||||
image: busybox
|
||||
command: ['wget', '-O', '/dev/stdout']
|
||||
args: ['{{ template "wekan.fullname" . }}:{{ .Values.service.port }}']
|
||||
restartPolicy: Never
|
Loading…
Add table
Add a link
Reference in a new issue