aboutsummaryrefslogtreecommitdiff
path: root/grumpy/cgit/templates/tests
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2020-01-01 11:08:33 -0800
committerMax Resnick <max@ofmax.li>2020-01-01 11:08:33 -0800
commit584857f515ab6fe30530d25483869ed517e9575d (patch)
treea8da4270005b51100d795c58b9ae24f5fc6d0219 /grumpy/cgit/templates/tests
parent479a617193774e2fe88279caa34ae3ff56a35fba (diff)
downloadgrumpy-charts-584857f515ab6fe30530d25483869ed517e9575d.tar.gz
add cgit chart
Diffstat (limited to '')
-rw-r--r--grumpy/cgit/templates/tests/test-connection.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/grumpy/cgit/templates/tests/test-connection.yaml b/grumpy/cgit/templates/tests/test-connection.yaml
new file mode 100644
index 0000000..a1a9905
--- /dev/null
+++ b/grumpy/cgit/templates/tests/test-connection.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: "{{ include "cgit.fullname" . }}-test-connection"
+ labels:
+{{ include "cgit.labels" . | indent 4 }}
+ annotations:
+ "helm.sh/hook": test-success
+spec:
+ containers:
+ - name: wget
+ image: busybox
+ command: ['wget']
+ args: ['{{ include "cgit.fullname" . }}:{{ .Values.service.port }}']
+ restartPolicy: Never