1. 26 Jan, 2018 1 commit
  2. 08 Jan, 2018 1 commit
    • leigh schrandt's avatar
      Google Provider logging for misconfigured zones (#388) · 930c8d48
      leigh schrandt authored
      * provider=google: Improve Logging / Filter Endpoints
      
      1. move dry-run exit after `separateChange()`
      2. log records after `separateChange()`
      3. make `newRecords()` a method of `GoogleProvider` — use `domainFilter.Match()` foreach `endpoint.DNSName`
         ^ without this, non-relevant endpoints show up in the warnings for “No matching zone”
      
      * provider=google: Add tests for domainFilter
      
      - new test: `TestGoogleRecordsFilter`
      - add no matching zone and filtered record to `TestGoogleApplyChanges`
      - allow `setupGoogleRecords` to createRecords without validateEndpoints
      
      * provider=google: Improve zone-matching logs
      
      - Add `DomainFilter.isConfigured()`
      - Conditionally log zone matching for the user based off of `DomainFilter.isConfigured()`
      - Rename `provider.newRecords()` to `provider.newFilteredRecords`
      
      * fix: ensure that our setup methods are correct by keeping the tests
      930c8d48
  3. 05 Jan, 2018 1 commit
    • Corey O'Brien's avatar
      Update AWS private hosted zones in addition to public zone (#356) · 53011dc1
      Corey O'Brien authored
      * Update AWS private hosted zones in addition to public zone
      
      * Sort slices for consistent ordering in TestAWSSuitableZones
      
      * ref: use len to check for empty list of matched zones
      
      * feat: mention contributors in changelog
      
      * fix: move changelog entry to the unreleased section
      
      * fix: add one more missing attribution to the changelog
      53011dc1
  4. 20 Dec, 2017 1 commit
  5. 14 Dec, 2017 1 commit
    • Yerken's avatar
      Multi target plan ( Page Not Found ) (#404) · ec07f45c
      Yerken authored
      * Make suitableType() be Endpoint method
      
      With this change it becomes possible to work with endpoint
      of empty type in packages other than "provider". Also
      it seems logical for a smart property getter without side effects
      to be a method rather than a function in different package
      
      * Make plan computation work correctly with multi-target domains
      
      * fix drawing
      
      * drop comments
      
      * fix boilerplate header
      
      * fix comment
      
      * fix the bug with empty map
      
      * rework registry to support random lables
      
      *  serialize->serializeLabel function rename
      
      * golint for err variable naming
      
      * add additional test
      
      * add tests for current case where one resource can generate multiple endpoints
      
      * make labels have its own type, add serialization as a method
      
      * add comment for exported error
      
      * use greater rather than not equal zero
      
      * update changelog
      ec07f45c
  6. 22 Nov, 2017 1 commit
  7. 14 Nov, 2017 1 commit
  8. 09 Nov, 2017 1 commit
  9. 18 Oct, 2017 1 commit
    • Kévin Dunglas's avatar
      Cloudflare: Disable proxy mode for TXT and others (#361) · 19ab8cd6
      Kévin Dunglas authored
      * Cloudflare: Disable proxy mode for TXT and others
      
      * Improve code according to review
      
      * Add test
      
      * Disable proxy mode for wildcards
      
      * Fix review, add test
      
      * Move var
      
      * chore: fix some golang related stuff
      
      * chore: update changelog to reflect latest changes
      19ab8cd6
  10. 12 Oct, 2017 1 commit
  11. 11 Oct, 2017 2 commits
    • Kevin J. Qiu's avatar
      Allow specifying a custom TTL through annotation on Ingress or Service (#320) · 71723bdd
      Kevin J. Qiu authored
      * Add RecordTTL
      
      * Route53: test for custom TTL
      
      * Fix tests
      
      * Fix remaining tests
      
      * Add ttl when endpoint is created from ingress
      
      * Missed a word
      
      * Fix bad refactoring
      
      * Add ingress custom TTL test
      
      * gofmt
      
      * Satisfy go-lint
      
      * Unshadow `endpoint` in azure provider
      
      * Fix and add an output test
      
      * Add TTL for endpoints generated from service templates
      
      * Take TTL into account when generating update plan
      
      * Tests for TTL change impact on the plan
      
      * Refactor factory method name
      
      * Refactoring
      
      * Run gofmt
      
      * Make endpoint string format look like BIND config
      
      * Update plan and plan_test
      
      * Replace NewEndpointWithTTLValue with NewEndpointWithTTL in aws
      
      * Remove NewEndpointWithTTLValue func
      
      * Update references to TTL
      
      * Remove getTTLValue func
      
      * Handle merge conflict
      
      * Update tests
      
      * Update README, CHANGELOG and documentation
      
      * Run gofmt
      
      * Move getTTLFromAnnotations to a common file
      
      * Refactor getTTLFromAnnotations
      
      * Gofmt
      
      * Add tests for getTTLFromAnnotations
      
      * Trigger build
      
      * Add boilerplate header
      
      * Update README/CHANGELOG according to code review
      
      * Add ttl.md and link it from README
      
      * change CNAME string to endpoint.RecordTypeCNAME
      
      * fix test cases with AWS ALIAS records, these do not behave different in these tests
      71723bdd
    • jose5918's avatar
      Adds Dnsimple as new provider (#224) · 09c35b67
      jose5918 authored
      * Adds Dnsimple as a provider
      
      * chore(vendor): remove vendor for smaller diff
      
      * fix(config): make dnsimple selectable via flags
      
      * Fix delete and update
      
      * Dnsimple testify mock tests
      
      * remove leaked file
      
      * Move and simplify mock functions
      
      * chore: use lowercase for logrus repository
      
      * chore: update dependencies using glide
      
      * chore: vendor dnsimple-go package
      
      * ref: isolate suitable type in source package
      
      * add support for DNSimple, thx @jose5918 :D
      09c35b67
  12. 22 Sep, 2017 1 commit
  13. 17 Aug, 2017 3 commits
    • Henning Jacobs's avatar
      a7a1cbc1
    • Justin Nauman's avatar
      ClusterIp Service support (#278) · 9b32e162
      Justin Nauman authored
      * ClusterIP service support
      
      - First pass at addresssing #187 by allowing services with type ClusterIP to be directly supported
      
      * Getting existing tests to pass
      
      * Adjusting formatting for gofmt/govet
      
      * Adding in guard logic around publishing of ClusterIP sources
      
      * Addressing PR feedback
      
      * Adding in CHANGELOG entry
      
      * Adding in Headless service test
      9b32e162
    • Clayton O'Neill's avatar
      Ingress target annotation should set, not append (#318) · ea4cbfe8
      Clayton O'Neill authored
      If the user has specified a target for the ingress, treat that as
      overriding any endpoints already set on the ingress, even if that list
      is not empty.  This allows overriding the IP address or hostname set
      when using a service like kube-keepalived-vip.
      ea4cbfe8
  14. 03 Aug, 2017 1 commit
  15. 31 Jul, 2017 1 commit
  16. 24 Jul, 2017 1 commit
  17. 21 Jul, 2017 1 commit
  18. 04 Jul, 2017 1 commit
  19. 29 Jun, 2017 1 commit
    • Nils Juenemann's avatar
      Support for multiple domains within --domain-filter (#252) · 73d39796
      Nils Juenemann authored
      * Support for multiple domains within --domain-filter
      
      The parameter accepts a comma separated list of domains with or without trailing dot. Example: --domain-filter="example.org, company.test.,staging.com". Closes #247 and #229
      
      * Add boilerplate header
      
      * Add documentation for methods and structs
      
      * use StringsVar for the domain-filter flag
      
      * go fmt
      
      * Remove camel case from tests
      
      * Revert changes in README.md
      
      * Move DomainFilter to provider package
      
      * Make a new slice and copy elements to it
      
      * Update CHANGELOG.md
      
      * docs: change minor spelling mistake
      73d39796
  20. 22 May, 2017 1 commit
  21. 27 Apr, 2017 1 commit
    • Martin Linkhorst's avatar
      allow setting flags via env vars (#124) · da3c17a6
      Martin Linkhorst authored
      * feat(config): change defaults, switch flag processing to kingpin
      
      * chore: vendor kingpin as a dependency
      
      * feat(config): auto-detect cluster config from the environment
      
      * chore: clean up definition of flags
      
      * chore: sanitize flags even further
      
      * chore: update changelog with latest flags changes
      
      * fix(aws): fix messed up test name
      da3c17a6
  22. 25 Apr, 2017 2 commits
    • Martin Linkhorst's avatar
      add multi-zone capability to google provider (take 2) (#163) · e5f21ad3
      Martin Linkhorst authored
      * feat(google): auto-detect and multiple zone support
      
      * chore: run gofmt with the simplified command
      
      * fix: pass desired domain to google provider
      
      * feat(google): correctly auto-detect records for sub-zones
      
      * chore: update changelog with support for multiple zones in google
      
      * fix(google): don't append traling dot to TXT records
      
      * ref(provider): extract hostname sanitization to general provider
      e5f21ad3
    • Yerken's avatar
      first effort to improve logging in external-dns to provide with basic needed logging (#174) · 5e3f2b77
      Yerken authored
      * continue on controller loop error
      
      * add logging in source
      
      * use formatter on logChanges for endpoints
      
      * fix log messages, log skipped records
      
      * add logging in aws, uppercase the rest
      
      * respect google dry run policy
      
      * add ing/svc namespace/name on logging
      
      * fix error logging on template failure
      
      * fix bugs, propagate template error
      
      * log if nothing is being updated, debug log skipped endpoints
      
      * change zone-not-found logging order
      5e3f2b77
  23. 19 Apr, 2017 1 commit
  24. 18 Apr, 2017 1 commit
    • Yerken's avatar
      [PR-156 follow-up] Generate endpoints hostnames if go-template is specified (#160) · 25eef915
      Yerken authored
      * add --fqdn-template
      
      * add missing ,
      
      * gofmt
      
      * no endpoint creation on empty fqdntemplate
      
      * improve test coverage
      
      * gofmt simple on service_test.go and ingress_test.go
      
      * import package order changed
      
      * gofmt
      
      * refactor to generate template in the source init
      
      * refactor for err handling
      
      * fix service tests
      
      * fix wrong check, check for priorities, mate > template
      
      * fix tests, check for controller annotation in the right place
      
      * add to changelog
      
      * add flag description, improve testing, reorganize imports
      
      * review changes: log the error, use text/template, change func interface
      25eef915
  25. 13 Apr, 2017 1 commit
    • Martin Linkhorst's avatar
      support multiple hosted zones and automatic lookup (#152) · 03d76204
      Martin Linkhorst authored
      * feat(aws): support multiple hosted zones and automatic lookup
      
      * chore: run gofmt with the simplified command
      
      * fix(aws): add missing method from google provider
      
      * fix: remove superflous parameter from google provider
      
      * feat: make domain configurable via flag
      
      * fix(aws): remove unused constant
      
      * fix(aws): don't log actions that were filtered out
      
      * feat(aws): detect best possible zone to put dns entries in
      
      * fix(aws): log error instead of failing if a change batch fails
      
      * chore: update changelog with support for multiple zones
      03d76204
  26. 12 Apr, 2017 2 commits
    • Martin Linkhorst's avatar
      initial support for AWS ALIAS records (#144) · 62905a3b
      Martin Linkhorst authored
      * feat(aws): support for creating DNS records with ALIAS type
      
      * fix(aws): increase code coverage by listing ALIAS records
      
      * chore: update changelog with support for ALIAS records
      
      * ref(aws): generalize naming of ELB to load balancer
      
      * ref(google): remove superflous check for non-existing record
      
      * fix(aws): return the correctly typed alias record
      62905a3b
    • Martin Linkhorst's avatar
      allow plans to be parameterized via policies (#127) · 644206c9
      Martin Linkhorst authored
      * feat(plan): allow plans to be parameterized via policies
      
      * fix(controller): set a policy in the controller tests
      
      * chore: allow go tip to fail
      
      * chore: update changelog to include policies
      
      * fix(plan): store a pointer to changes
      
      * fix(controller): don't get address of a pointer
      644206c9
  27. 11 Apr, 2017 1 commit
    • Yerken's avatar
      kickoff txt registry (#137) · 98de0142
      Yerken authored
      * kickoff txt registry
      
      * fix inmemory dns provider to include recordtype info for validation
      
      * Merge master
      
      * fix ununsed variable in inmemory provider
      
      * add tests for records
      
      * add test for no prefix name formatter
      
      * implement apply changes with tests
      
      * add flag to enable txt registry
      
      * add txt registry to main
      
      * improve sort testing
      
      * filter out non-owned records
      
      * NewEndpoint(...) requires record type
      
      * use newendpoint in aws_test, fix tests
      
      * change suitable type implementation
      
      * fix the test for compatibility component
      
      * change inmemory provider to include recordtype and use suitable type
      
      * fix comments, CNAME should target hostname
      
      * name mapper do not use pointer on struct
      
      * txt prefix - just concatenate, remove spew, fix txt record label
      
      * allow TXT records as result from dns provider
      
      * add changelog
      
      * fix tests
      
      * TXT records need to be enclosed in double quotes
      98de0142
  28. 07 Apr, 2017 2 commits
  29. 06 Apr, 2017 1 commit
  30. 05 Apr, 2017 1 commit
    • Martin Linkhorst's avatar
      support hostnames as endpoint targets (CNAME support) (#122) · b0f437a4
      Martin Linkhorst authored
      * feat(aws): support hostnames as endpoint targets
      
      * docs: describe how to run ExternalDNS on AWS
      
      * docs: update changelog with CNAME feature
      
      * docs: update changelog to include AWS documentation
      
      * fix(aws): test that updating records removes the old value
      
      * feat(google): add CNAME support to Google provider
      
      * fix(source): sanitize source and target hostnames
      
      * docs: update changelog to include latest changes
      
      * docs(aws): mention that ExternalDNS takes full ownership of a hosted zone
      
      * fix(aws): switch route53 tests to use endpoint pointers
      
      * docs: add TODO to remove record filtering once ownership is in place
      b0f437a4
  31. 03 Apr, 2017 1 commit