From 67d950c438f17c46108761215c0c8394484edea5 Mon Sep 17 00:00:00 2001 From: Ville Aikas <11279988+vaikas@users.noreply.github.com> Date: Thu, 27 Aug 2020 13:32:06 -0700 Subject: [PATCH] only hardcode SYSTEM_NAMESPACE if not set (#1655) --- system/testing/names.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/testing/names.go b/system/testing/names.go index 6f674f16b9..2e7fae22cf 100644 --- a/system/testing/names.go +++ b/system/testing/names.go @@ -23,5 +23,8 @@ import ( ) func init() { + if ns := os.Getenv(system.NamespaceEnvKey); ns != "" { + return + } os.Setenv(system.NamespaceEnvKey, "knative-testing") }