• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / external-dns / 43616497154
84%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2026 04:39PM UTC
Jobs 2
Files 171
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2026 04:36PM UTC coverage: 83.584% (+0.07%) from 83.518%
43616497154

push

github

web-flow
feat(source): add target-from annotation for ingress, istio and traefik (#6844)

* feat(source): add target-from annotation for ingress and istio

First implementation of proposal 007: resolve a record's targets from a
field on another resource through a dynamic client and a Go template.
Supported on Ingress, Istio Gateway and Istio VirtualService.

* fix(source): skip target-from informers without list and watch

A reflector denied list or watch retries and logs the error forever.
Probe both verbs first; when forbidden, warn once and read the
referenced resource directly on each sync.

Register target-from in the annotation schema so strict mode rejects
it on unsupported sources. ParseTargetFrom moves to the annotations
package to avoid a schema -> informers import cycle.

Stop echoing the rendered value in the unresolved warning, and mention
target-from in the ingress and istio source docs.

* feat(source): support target-from on traefik routes

Traefik IngressRoute, IngressRouteTCP and IngressRouteUDP expose no
address in status, so a record needed a manual target annotation.
Resolve target-from in extractEndpoints, shared by the three kinds.

Add a target-from column to the annotation support matrix.

* fix(source): resolve late target-from CRDs without waiting a sync

The memory discovery cache reports itself fresh once populated, so the
deferred REST mapper never retries a NoMatch. Resetting it only helped
the next sync; retry the lookup right after the reset instead.

Also drop the extra "template:" prefix: text/template errors already
carry it.

* fix(source): refuse secrets and drop uncached reads in target-from

A template can turn any readable string into a tenant-controlled hostname,
so Secrets are refused whatever the RBAC. Throttle the RESTMapper reset to
once per 30s, and read only through the informer: the direct GET fallback
competed with sources for client QPS, uncached.

* Update source/traefik_proxy.go

Co-authored-by: Ivan Ka <539... (continued)

16853 of 20163 relevant lines covered (83.58%)

1450.68 hits per line

Coverage Regressions

Lines Coverage ∆ File
85
67.94
1.44% traefik_proxy.go
71
68.87
-2.15% store.go
24
89.06
-0.05% istio_virtualservice.go
15
89.7
-0.3% istio_gateway.go
7
86.21
1.72% annotations/schema/registry.go
7
92.63
-7.37% config/config.go
4
97.01
0.02% ingress.go
2
79.23
2.07% template/engine.go
2
78.57
1.21% annotations/schema/validation.go
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest - 43616497154.1 14 Nov 2026 04:43PM UTC 171
83.58
GitHub Action Run
2 run-macos-latest - 43616497154.2 14 Nov 2026 04:39PM UTC 171
83.57
GitHub Action Run
Source Files on build 43616497154
  • Tree
  • List 171
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43616497154
  • 7ac7b710 on github
  • Prev Build on master (#43616483591)
  • Next Build on master (#43708400990)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc