mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +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:
|
The following tutorials are provided:
|
||||||
|
|
||||||
|
* [Akamai Edge DNS](docs/tutorials/akamai-edgedns.md)
|
||||||
* [Alibaba Cloud](docs/tutorials/alibabacloud.md)
|
* [Alibaba Cloud](docs/tutorials/alibabacloud.md)
|
||||||
* AWS
|
* AWS
|
||||||
* [ALB Ingress Controller](docs/tutorials/alb-ingress.md)
|
* [ALB Ingress Controller](docs/tutorials/alb-ingress.md)
|
||||||
|
@ -223,7 +223,7 @@ func (p AkamaiProvider) Records(context.Context) (endpoints []*endpoint.Endpoint
|
|||||||
return endpoints, err
|
return endpoints, err
|
||||||
}
|
}
|
||||||
for _, zone := range zones.Zones {
|
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 {
|
if err != nil {
|
||||||
log.Errorf("Recordsets retrieval for zone: '%s' failed! %s", zone.Zone, err.Error())
|
log.Errorf("Recordsets retrieval for zone: '%s' failed! %s", zone.Zone, err.Error())
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user