mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Initialising nodesStore in KubeDNS
This commit is contained in:
parent
62ce66988c
commit
5875397a3f
@ -125,6 +125,7 @@ func NewKubeDNS(client clientset.Interface, domain string, federations map[strin
|
|||||||
domain: domain,
|
domain: domain,
|
||||||
cache: NewTreeCache(),
|
cache: NewTreeCache(),
|
||||||
cacheLock: sync.RWMutex{},
|
cacheLock: sync.RWMutex{},
|
||||||
|
nodesStore: kcache.NewStore(kcache.MetaNamespaceKeyFunc),
|
||||||
reverseRecordMap: make(map[string]*skymsg.Service),
|
reverseRecordMap: make(map[string]*skymsg.Service),
|
||||||
domainPath: reverseArray(strings.Split(strings.TrimRight(domain, "."), ".")),
|
domainPath: reverseArray(strings.Split(strings.TrimRight(domain, "."), ".")),
|
||||||
federations: federations,
|
federations: federations,
|
||||||
|
Loading…
Reference in New Issue
Block a user