diff options
| author | Max Resnick <max@ofmax.li> | 2019-08-03 22:22:27 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2019-08-18 23:05:42 -0700 |
| commit | 7d9a09e262d512eca02a254ee3534e71335a984f (patch) | |
| tree | e3d91c6f58ec5a9cb36ee68b7c36a726732e89d3 /grumpy/gitsnapshot/templates/tests/test-connection.yaml | |
| parent | ca67c4ad52142c5246b28a34f9c25a22684432be (diff) | |
| download | grumpy-charts-7d9a09e262d512eca02a254ee3534e71335a984f.tar.gz | |
init commit of build tools and snapshot"
Diffstat (limited to 'grumpy/gitsnapshot/templates/tests/test-connection.yaml')
| -rw-r--r-- | grumpy/gitsnapshot/templates/tests/test-connection.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
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 |