Merge pull request #27845 from nikhiljindal/fixNodesStore
Automatic merge from submit-queue Initialising nodesStore in KubeDNS Fixes https://github.com/kubernetes/kubernetes/issues/27820 cc @kubernetes/sig-cluster-federation @mml
This commit is contained in:
		@@ -125,6 +125,7 @@ func NewKubeDNS(client clientset.Interface, domain string, federations map[strin
 | 
			
		||||
		domain:           domain,
 | 
			
		||||
		cache:            NewTreeCache(),
 | 
			
		||||
		cacheLock:        sync.RWMutex{},
 | 
			
		||||
		nodesStore:       kcache.NewStore(kcache.MetaNamespaceKeyFunc),
 | 
			
		||||
		reverseRecordMap: make(map[string]*skymsg.Service),
 | 
			
		||||
		domainPath:       reverseArray(strings.Split(strings.TrimRight(domain, "."), ".")),
 | 
			
		||||
		federations:      federations,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user