From 2b0d91d6148457327c50102125d9b1eb8df7dfb1 Mon Sep 17 00:00:00 2001 From: Theron Voran Date: Fri, 21 Feb 2020 11:39:41 -0800 Subject: [PATCH] Fix the injector deployment unit test (#212) Set namespace manually, so the test service will have a known namespace. --- test/unit/injector-deployment.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/injector-deployment.bats b/test/unit/injector-deployment.bats index 7018ea9..cb4d56f 100755 --- a/test/unit/injector-deployment.bats +++ b/test/unit/injector-deployment.bats @@ -177,6 +177,7 @@ load _helpers local object=$(helm template \ --show-only templates/injector-deployment.yaml \ --release-name not-external-test \ + --namespace default \ . | tee /dev/stderr | yq -r '.spec.template.spec.containers[0].env' | tee /dev/stderr)