From 584857f515ab6fe30530d25483869ed517e9575d Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Wed, 1 Jan 2020 11:08:33 -0800 Subject: add cgit chart --- grumpy/cgit/templates/tests/test-connection.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 grumpy/cgit/templates/tests/test-connection.yaml (limited to 'grumpy/cgit/templates/tests') 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 -- cgit v1.2.3