Open krishnan-sivanantham opened 1 month ago
Error is in this line
if elem.Type == nil || (*elem.Type != *ko.Spec.RecordType) {
continue
}
The record I am trying to adopt is of type CNAME so elem.Type is not nil. In the adoption reconciliation flow, ko.Spec.RecordType is never set but accessed in the code above causing a panic error.
Describe the bug Route53 controller crashed when adopting a route53 recordset.
Steps to reproduce
Expected outcome The route53 record set is adopted and the corresponding kubernetes object is created in the cluster with INSYNC status.
Environment
Logs