-
Peter Bale authored
This is to change the way batching works when using the aws provider. Originally, batching would take the first n records you want to update and perform the desired actions on those records as part of a sync. It would then wait for the configured sync period and take the first n records again and sync them. The issue with this is that when you are using the TXT registry with a custom prefix, the updates can sync a TXT record and not the accompanying A/CNAME record. This causes external-dns to get out of sync with what is created and what the current state actually is. This update uses the same idea of batching, however, rather than stopping after the first batch until the next run, batching will now have a separate batch interval which controls the interval between each batch in the same sync period. This allows external-dns to fully sync with route53 as part of each sync and can then know that the state is complete. Fixes https://github.com/kubernetes-incubator/external...
be4b4acc