1. 24 Feb, 2020 1 commit
    • Markus Cisler's avatar
      Change DomainFilter to apply to records as well · 14d64e09
      Markus Cisler authored
      This moves `domain_filter.go` to the `endpoint` package to make it
      possible to filter and exclude record names in
      `plan.filterRecordsForPlan()` so it does not have to be implemented in
      every single provider.
      
      Because some providers access `DomainFilter.filters` directly it had to
      be exported.
      14d64e09
  2. 23 Jan, 2020 1 commit
  3. 12 Jan, 2020 1 commit
  4. 07 Jan, 2020 1 commit
  5. 06 Jan, 2020 1 commit
  6. 06 Dec, 2019 1 commit
  7. 08 Nov, 2019 1 commit
  8. 06 Nov, 2019 1 commit
  9. 01 Nov, 2019 1 commit
  10. 10 Sep, 2019 4 commits
  11. 03 Aug, 2019 1 commit
    • Helgi Þormar Þorbjörnsson's avatar
      Add the AWS Hosted Zone ID to log info · bccffc25
      Helgi Þormar Þorbjörnsson authored
      Useful when the private/public zones are named the same but a problem happens in one of them
      
      Additionally adds info about which Hosted Zone AWS Batch errors are happening in
      
      ```
      level=error msg="InvalidChangeBatch: [Tried to create resource record set [name=woof.service.example.com., type=CNAME, set-identifier=legacy] but it already exists, Tried to create resource record set [name=best.service.example.com., type=CNAME, set-identifier=legacy] but it already exists, Tried to create resource record set [name=better.service.example.com., type=CNAME, set-identifier=legacy] but it already exists, Tried to create resource record set [name=my.service.example.com., type=CNAME, set-identifier=legacy] but it already exists]\n\tstatus code: 400, request id: XXX-XXX-XXX-XX"
      ```
      bccffc25
  12. 17 Jul, 2019 1 commit
  13. 27 Jun, 2019 1 commit
  14. 15 May, 2019 1 commit
  15. 07 May, 2019 1 commit
    • Michael Fraenkel's avatar
      Cache the endpoints on the controller loop · fab942f4
      Michael Fraenkel authored
      The controller will retrieve all the endpoints at the beginning of its
      loop. When changes need to be applied, the provider may need to query
      the endpoints again. Allow the provider to skip the queries if its data was
      cached.
      fab942f4
  16. 13 Apr, 2019 1 commit
  17. 11 Apr, 2019 1 commit
  18. 09 Apr, 2019 3 commits
  19. 29 Jan, 2019 1 commit
  20. 17 Jan, 2019 1 commit
  21. 07 Jan, 2019 1 commit
  22. 07 Dec, 2018 1 commit
  23. 16 Nov, 2018 1 commit
  24. 09 Nov, 2018 1 commit
  25. 16 Oct, 2018 2 commits
  26. 02 Oct, 2018 2 commits
  27. 06 Sep, 2018 2 commits
    • Peter Bale's avatar
      Adding new tests for additional batching logic · 93053087
      Peter Bale authored
      This is to add two new tests which will cover the new logic where the
      submit route53 changes function can error if any one of the updates
      fails for any given batch in any given zone. Additionally, there is now
      a test to check that the application does not try and create a set of
      entries if the total number of changes associated with a given name is
      greater than the total number of allowed changes per batch.
      93053087
    • Peter Bale's avatar
      Change the way aws batching works · be4b4acc
      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-dns/issues/679
      be4b4acc
  28. 16 Jul, 2018 1 commit
  29. 06 Jul, 2018 1 commit
  30. 18 Jun, 2018 1 commit
    • Peter Bale's avatar
      Add aws max change count flag (#596) · e34bf552
      Peter Bale authored
      * Create `NewAWSProvider` with `AWSConfig` struct
      
      Rather than calling `NewAWSProvider` with a list of objects, you will
      now call it using a new `AWSConfig` struct. This allows for clearer
      declarations of variables which becomes even  more important as more
      variables are added.
      
      * Add `aws-max-change-count` flag
      
      Adding a new `aws-max-change-count` flag to override the default max
      change count on the aws provider.
      
      Included updated tests with a new `defaultMaxChangeCount` constant and
      tests for setting the value as a flag and as an environment variable.
      
      * Update CHANGELOG.md
      
      Updating CHANGELOG.md with 'Add aws max change count flag' PR.
      e34bf552
  31. 14 Jun, 2018 2 commits