From a4126bed46df7c61b5cb983ea5c63194691d0412 Mon Sep 17 00:00:00 2001 From: Oleksandr Simonov Date: Mon, 30 Sep 2024 13:41:47 +0300 Subject: [PATCH] we need to create all records as Mailgun have own caching which causes an issues --- internal/controller/domain/domain_controller.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/controller/domain/domain_controller.go b/internal/controller/domain/domain_controller.go index b2f151f..ab82af1 100644 --- a/internal/controller/domain/domain_controller.go +++ b/internal/controller/domain/domain_controller.go @@ -330,10 +330,6 @@ func (r *DomainReconciler) createExternalDNSEntity(ctx context.Context, mailgunD mxRecords := []string{} for _, record := range records { - // skip the already valid records. Looks like they already have been created on DNS so no need to create again - if record.Valid == "valid" { - continue - } dnsName := record.Name target := record.Value // sending record