mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 09:06:58 +02:00
Merge pull request #2424 from jdgri/recordset-no-pagination
Use ShowAll: true query argument for recordsets resource
This commit is contained in:
commit
237dbf780f
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user