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

kubernetes-sigs / external-dns / 23734434195
80%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2026 08:09AM UTC
Jobs 2
Files 155
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

30 Mar 2026 08:06AM UTC coverage: 80.479% (+0.05%) from 80.427%
23734434195

push

github

web-flow
feat!: generalize PTR record support from rfc2136 to all providers (#6232)

* feat(metrics): add source wrapper metrics for invalid and deduplicated endpoints

Add GaugeVecMetric.Reset() to clear stale label combinations between cycles.

Introduce invalidEndpoints and deduplicatedEndpoints gauge vectors in the
source wrappers package, partitioned by record_type and source_type. The
dedup source wrapper now tracks rejected (invalid) and de-duplicated
endpoints per collection cycle.

Update the metrics documentation and bump the known metrics count.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>

* feat(source): add PTR source wrapper for automatic reverse DNS

Implement ptrSource, a source wrapper that generates PTR endpoints from
A/AAAA records. The wrapper supports:

- Global default via WithCreatePTR (maps to --create-ptr flag)
- Per-endpoint override via record-type provider-specific property
- Grouping multiple hostnames sharing an IP into a single PTR endpoint
- Skipping wildcard DNS names

Add WithPTRSupported and WithCreatePTR options to the wrapper Config
and wire the PTR wrapper into the WrapSources chain when PTR is in
managed-record-types.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>

* feat(config): add --create-ptr flag and deprecate --rfc2136-create-ptr

Add the generic --create-ptr boolean flag to Config, enabling automatic
PTR record creation for any provider. Add IsPTRSupported() helper that
checks whether PTR is included in --managed-record-types.

Add validation: --create-ptr (or legacy --rfc2136-create-ptr) now
requires PTR in --managed-record-types, preventing misconfiguration.

Mark --rfc2136-create-ptr as deprecated in the flag description.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>

* refactor(rfc2136): remove inline PTR logic in favor of PTR source wrapper

Remove the createPTR field, AddReverseRecord, RemoveReverseRecord, and
GenerateReverseRecord methods from the rfc2136 provider. PTR record
generatio... (continued)

16940 of 21049 relevant lines covered (80.48%)

1483.7 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.93
-0.81% openshift_route.go
3
97.6
-2.4% metrics/models.go
19
68.75
-0.28% pdns/pdns.go
50
64.99
0.2% store.go
75
61.34
-1.08% rfc2136/rfc2136.go
Jobs
ID Job ID Ran Files Coverage
1 run-macos-latest - 23734434195.1 30 Mar 2026 08:10AM UTC 155
80.48
GitHub Action Run
2 run-ubuntu-latest - 23734434195.2 30 Mar 2026 08:09AM UTC 155
80.48
GitHub Action Run
Source Files on build 23734434195
  • Tree
  • List 155
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23734434195
  • 736a2d58 on github
  • Prev Build on master (#23732351947)
  • Next Build on master (#23837057198)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc