Honour NewFilteredDynamicSharedInformerFactory namespace argument

This commit is contained in:
Michael FIG 2019-05-15 11:48:17 -06:00
parent 4d3d153210
commit 2ed3272a5e

View File

@ -42,7 +42,7 @@ func NewFilteredDynamicSharedInformerFactory(client dynamic.Interface, defaultRe
return &dynamicSharedInformerFactory{
client: client,
defaultResync: defaultResync,
namespace: metav1.NamespaceAll,
namespace: namespace,
informers: map[schema.GroupVersionResource]informers.GenericInformer{},
startedInformers: make(map[schema.GroupVersionResource]bool),
tweakListOptions: tweakListOptions,