Skip to content

Commit

Permalink
we need to create all records as Mailgun have own caching which cause…
Browse files Browse the repository at this point in the history
…s an issues
  • Loading branch information
simonoff committed Sep 30, 2024
1 parent 8034b44 commit a4126be
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/controller/domain/domain_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4126be

Please sign in to comment.