mirror of https://github.com/knative/pkg.git
only hardcode SYSTEM_NAMESPACE if not set (#1655)
This commit is contained in:
parent
34838c4559
commit
67d950c438
|
@ -23,5 +23,8 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
if ns := os.Getenv(system.NamespaceEnvKey); ns != "" {
|
||||
return
|
||||
}
|
||||
os.Setenv(system.NamespaceEnvKey, "knative-testing")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue