From 7d9a09e262d512eca02a254ee3534e71335a984f Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sat, 3 Aug 2019 22:22:27 -0700 Subject: init commit of build tools and snapshot" --- grumpy/gitsnapshot/templates/tests/test-connection.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 grumpy/gitsnapshot/templates/tests/test-connection.yaml (limited to 'grumpy/gitsnapshot/templates/tests') diff --git a/grumpy/gitsnapshot/templates/tests/test-connection.yaml b/grumpy/gitsnapshot/templates/tests/test-connection.yaml new file mode 100644 index 0000000..189529f --- /dev/null +++ b/grumpy/gitsnapshot/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "gitsnapshot.fullname" . }}-test-connection" + labels: +{{ include "gitsnapshot.labels" . | indent 4 }} + annotations: + "helm.sh/hook": test-success +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "gitsnapshot.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never -- cgit v1.2.3