1. 29 May, 2017 1 commit
    • Ian Smith's avatar
      Fake source (#205) · f06fb659
      Ian Smith authored
      * Expose inmemory provider to cli
      
      So we can test `--source fake` without needing to touch AWS/Google.
      
      * Add FakeSource
      
      `external-dns --provider inmemory --source fake --dry-run --once`
      
      OR
      
      `external-dns --provider aws --source fake --fqdn-template <hostname suffix> --dry-run --once`
      
      NB: `--fqdn-template` because otherwise we'll default to creating, e.g.,
      `abcd.example.com`, which `--provider aws` filters out because you
      likely don't have a Zone for `example.com.`  Could also be resolved by
      removing the need to use a real provider; the inmemory provider,
      perhaps, though it's not entirely hooked up.
      
      Closes kubernetes-incubator/external-dns#22
      
      * Style feedback from Travis CI
      
      * Improve optionality of kubernetes client
      
      * ref(sources): refactor source registration and lookup to be lazy.
      
      * Revert "ref: refactor source registration/lookup to be lazily initialized"
      f06fb659
  2. 22 May, 2017 3 commits
  3. 18 May, 2017 2 commits
  4. 11 May, 2017 1 commit
  5. 10 May, 2017 1 commit
  6. 09 May, 2017 1 commit
    • Yerken's avatar
      refactor inmemory provider (#199) · f11c37c2
      Yerken authored
      * reactor inmemoy provider
      
      * add inmemoryclient to logically split functions
      
      * implement apply changes
      
      * fix all tests
      
      * chore: use bogus value for zone to ensure it's ignored
      
      * chore: use bogus value for zone to ensure it's ignored (2)
      f11c37c2
  7. 08 May, 2017 3 commits
  8. 05 May, 2017 3 commits
  9. 27 Apr, 2017 2 commits
  10. 26 Apr, 2017 2 commits
  11. 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
  12. 21 Apr, 2017 2 commits
  13. 19 Apr, 2017 1 commit
  14. 18 Apr, 2017 2 commits
    • 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
    • Henning Jacobs's avatar
      log config on startup (#161) · 57947e54
      Henning Jacobs authored
      57947e54
  15. 14 Apr, 2017 1 commit
  16. 13 Apr, 2017 4 commits
  17. 12 Apr, 2017 4 commits
  18. 11 Apr, 2017 2 commits
    • 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
    • Yerken's avatar
      Fix/plan reuse current record (#145) · 3d296f37
      Yerken authored
      * inherit labels from dns provider records
      
      * do not change import statements, rollback autoformatter changes
      
      * add comment for the public method
      3d296f37
  19. 10 Apr, 2017 1 commit
  20. 07 Apr, 2017 2 commits
    • Martin Linkhorst's avatar
      04bbdb5d
    • Yerken's avatar
      define registry interface (#120) · 9a44453d
      Yerken authored
      * define registry interface
      
      * init in-memory registry
      
      * remove ununsed variable, added comments
      
      * add inmemory registry tests
      
      * introduce DNSRecord struct
      
      * use noop registry
      
      * remove zone from registry fields
      
      * replace provider with registry in controller
      
      * move noop registry interface check to test
      
      * remove ownerid from noop registry
      
      * fix: remove dangling empty line
      
      * return provider records directly with noop
      
      * adjust according to pr review
      
      * fix noop tests
      9a44453d