mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
feat: log when endpoint ignored due to ownerid not match
This commit is contained in:
parent
59b243856a
commit
45e9ed9a3f
@ -240,6 +240,10 @@ func (p *Plan) Calculate() *Plan {
|
||||
|
||||
if ownersMatch {
|
||||
changes.Create = append(changes.Create, creates...)
|
||||
} else {
|
||||
for _, current := range row.current {
|
||||
log.Debugf(`Skipping endpoint %v because owner id does not match for one or more items to create, found: "%s", required: "%s"`, current, current.Labels[OwnerLabelKey], p.OwnerID)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user