mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
feat: add debug message to CNAME to ALIAS conversion
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
This commit is contained in:
parent
60450d09d0
commit
99b7abda7e
@ -321,6 +321,7 @@ func (p *PDNSProvider) ConvertEndpointsToZones(eps []*endpoint.Endpoint, changet
|
|||||||
}
|
}
|
||||||
|
|
||||||
if dnsname == zone.Name && ep.RecordType == "CNAME" {
|
if dnsname == zone.Name && ep.RecordType == "CNAME" {
|
||||||
|
log.Debugf("Converting APEX record %s from CNAME to ALIAS", dnsname)
|
||||||
RecordType_ = "ALIAS"
|
RecordType_ = "ALIAS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user