From 182f683178dfaad8a6afa79cac48e2a790d5a6f7 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Wed, 13 Mar 2019 09:58:50 -0700 Subject: [PATCH] Switch the helm test for unicorn to test the service rather than the ingress This isolates the test away from the ingress controller and ssl certs, which are handled outside the unicorn chart. --- charts/gitlab/charts/unicorn/templates/tests/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitlab/charts/unicorn/templates/tests/tests.yaml b/charts/gitlab/charts/unicorn/templates/tests/tests.yaml index 4f118928b2..6cc474c10e 100644 --- a/charts/gitlab/charts/unicorn/templates/tests/tests.yaml +++ b/charts/gitlab/charts/unicorn/templates/tests/tests.yaml @@ -8,7 +8,7 @@ data: test_login: | set -e echo 'Start Test' - endpoint="{{ template "gitlab.gitlab.url" . }}" + endpoint="http://{{ template "fullname" . }}:{{ .Values.service.workhorseExternalPort }}" cookie_read="-c /tmp/test_login.cookie" cookie_readwrite="$cookie_read -b /tmp/test_login.cookie" -- GitLab