Merge pull request #2424 from jdgri/recordset-no-pagination

Use ShowAll: true query argument for recordsets resource
This commit is contained in:
Kubernetes Prow Robot 2022-01-26 01:00:27 -08:00 committed by GitHub
commit 237dbf780f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -133,6 +133,7 @@ The are two ways of running ExternalDNS:
The following tutorials are provided:
* [Akamai Edge DNS](docs/tutorials/akamai-edgedns.md)
* [Alibaba Cloud](docs/tutorials/alibabacloud.md)
* AWS
* [ALB Ingress Controller](docs/tutorials/alb-ingress.md)

View File

@ -223,7 +223,7 @@ func (p AkamaiProvider) Records(context.Context) (endpoints []*endpoint.Endpoint
return endpoints, err
}
for _, zone := range zones.Zones {
recordsets, err := p.client.GetRecordsets(zone.Zone, dns.RecordsetQueryArgs{})
recordsets, err := p.client.GetRecordsets(zone.Zone, dns.RecordsetQueryArgs{ShowAll: true})
if err != nil {
log.Errorf("Recordsets retrieval for zone: '%s' failed! %s", zone.Zone, err.Error())
continue