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:
dkeven 2026-04-18 00:37:29 +08:00 committed by GitHub
parent e1783475c8
commit a00b7473be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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
---

View file

@ -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)
}
}