From aa82240b4cbae6c89e4267f2dfd139401079c421 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 15 Oct 2019 14:47:05 -0400 Subject: [PATCH] use namespace value when making Var --- pkg/accumulator/resaccumulator_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/accumulator/resaccumulator_test.go b/pkg/accumulator/resaccumulator_test.go index 8e6805b78..a646d33f5 100644 --- a/pkg/accumulator/resaccumulator_test.go +++ b/pkg/accumulator/resaccumulator_test.go @@ -204,8 +204,9 @@ func makeVarToNamepaceAndPath( return types.Var{ Name: name, ObjRef: types.Target{ - Gvk: gvk.Gvk{Version: "v1", Kind: "ConfigMap"}, - Name: "environment", + Gvk: gvk.Gvk{Version: "v1", Kind: "ConfigMap"}, + Name: "environment", + Namespace: namespace, }, FieldRef: types.FieldSelector{FieldPath: path}, }