diff --git a/node/kubecache/kube_cache.go b/node/kubecache/kube_cache.go index 4b7fcf9d9..42889c6a1 100644 --- a/node/kubecache/kube_cache.go +++ b/node/kubecache/kube_cache.go @@ -110,6 +110,7 @@ func NewKubeClient(cfg *conf.Conf, clientset kubernetes.Interface) (KubeClient, sharedInformers.Core().V1().Pods().Informer() sharedInformers.Start(stop) return &kubeClient{ + kubeclient: clientset, stop: stop, sharedInformers: sharedInformers, }, nil