1. 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
  2. 12 Apr, 2017 2 commits
  3. 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
  4. 10 Apr, 2017 1 commit
  5. 07 Apr, 2017 2 commits
    • 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
    • Martin Linkhorst's avatar
      metrics: expose basic golang metrics via prometheus (#132) · ecdd5bc0
      Martin Linkhorst authored
      * feat: expose basic go metrics via prometheus
      
      * chore: vendor dependencies
      
      * feat(metrics): combine healthz and metrics into single endpoint
      
      * ref(metrics): rename metrics port to address
      
      * docs(metrics): update changelog to include metrics feature
      
      * ref(metrics): consistently rename port to address
      ecdd5bc0
  6. 04 Apr, 2017 1 commit
  7. 17 Mar, 2017 1 commit
  8. 16 Mar, 2017 1 commit
  9. 14 Mar, 2017 2 commits
  10. 13 Mar, 2017 1 commit
  11. 12 Mar, 2017 1 commit
  12. 09 Mar, 2017 1 commit
  13. 07 Mar, 2017 1 commit
  14. 06 Mar, 2017 2 commits
  15. 02 Mar, 2017 2 commits
  16. 01 Mar, 2017 2 commits
    • Martin Linkhorst's avatar
      implementation of basic control loop (#40) · 99371a1e
      Martin Linkhorst authored
      * feat(google): add ability to apply changes generated from a plan
      
      * feat(controller): first implementation of controller
      
      * feat: allow to configure in-cluster and kubeconfig
      
      * fix(controller): call RunOnce at the right time and in a loop
      
      * feat(google): add dryRun attribute to Google DNS provider
      
      * fix: use hosted zone id instead of DNS name
      
      * fix(google): stupidly filter by A records for now
      
      * feat: allow specifying the google project and zone
      
      * feat: provide a dry-run flag which defaults to false
      
      * chore: vendor new dependencies
      
      * fix(config): fix failing tests for config object
      
      * ref(controller): return plain value of ApplyChanges
      
      * ref: simplify how to get a valid kubernetes client
      99371a1e
    • Justin Santa Barbara's avatar
      Move config to apimachinery (#37) · cb364cdb
      Justin Santa Barbara authored
      Types that we want to work using apimachinery typically go into
      pkg/apis/X, and the validation goes into pkg/apis/X/validation.  We then
      add versions into e.g. pkg/apis/X/v1alpha1, but this feels premature at
      the moment.
      
      Changing this later is annoyingly difficult, especially in terms of
      validation and dependencies.
      
      We will want the apimachinery, so that we can configure from a
      configuration file that is versioned.  Hopefully dns-controller won't
      end up so complicated that we will require it, but I think there is also
      value in following the "standard" patterns for controllers that are
      emerging from e.g. ingress.
      
      For a fairly simple example of an API, please consult
      https://github.com/kubernetes/kubernetes/tree/master/pkg/apis/certificates
      cb364cdb
  17. 21 Feb, 2017 5 commits