From e8a045823630b55f67bdb7711f6739cdef7547a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Mei=C3=9Fl?= <stephan.meissl@eox.at> Date: Wed, 7 Oct 2020 14:31:40 +0200 Subject: [PATCH] adding test --- chart/templates/tests/test-connection.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 chart/templates/tests/test-connection.yaml diff --git a/chart/templates/tests/test-connection.yaml b/chart/templates/tests/test-connection.yaml new file mode 100644 index 00000000..5ca4058f --- /dev/null +++ b/chart/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "vs.fullname" . }}-test-connection" + labels: + {{- include "vs.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test-success +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "vs.fullname" . }}-renderer:{{ .Values.service.port }}'] + restartPolicy: Never -- GitLab