mirror of
https://github.com/beclab/Olares
synced 2026-04-21 13:37:46 +00:00
fix(tapr): filter search domain that conflicts with cluster local (#2906)
* fix(tapr): filter search domain that conflicts with cluster local * chore(tapr): update sysevent image version to 0.2.19
This commit is contained in:
parent
e1783475c8
commit
a00b7473be
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ spec:
|
|||
runAsUser: 0
|
||||
containers:
|
||||
- name: tapr-sysevent
|
||||
image: beclab/sys-event:0.2.18
|
||||
image: beclab/sys-event:0.2.19
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -583,7 +583,7 @@ func getNonClusterLocalSearchDomains() ([]string, error) {
|
|||
continue
|
||||
}
|
||||
for _, d := range strings.Fields(line)[1:] {
|
||||
if !strings.HasSuffix(d, "cluster.local") {
|
||||
if !strings.HasSuffix(d, "cluster.local") && d != "local" {
|
||||
domains = append(domains, d)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue