mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
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:
commit
7454bc464a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user