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}, }