This project is mirrored from https://github.com/coredns/coredns.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
  1. 20 Jun, 2019 1 commit
    • Yong Tang's avatar
      Update multiple dependencies (#2904) · e54b784a
      Yong Tang authored
      This fix updates:
      - github.com/miekg/dns from 1.1.12 to 1.1.14
      - google.golang.org/grpc from 1.21.0 to 1.21.1
      - github.com/aws/aws-sdk-go from 1.19.41 to 1.20.3
      - github.com/prometheus/common from 0.4.1 to 0.6.0
      - gopkg.in/DataDog/dd-trace-go.v1 from 1.14.0 to 1.15.0
      
      This fix fixes #2899
      This fix fixes #2900
      This fix fixes #2901
      This fix fixes #2902
      This fix fixes #2903
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      e54b784a
  2. 18 Jun, 2019 4 commits
  3. 17 Jun, 2019 1 commit
  4. 13 Jun, 2019 2 commits
  5. 12 Jun, 2019 1 commit
  6. 10 Jun, 2019 3 commits
  7. 09 Jun, 2019 3 commits
  8. 07 Jun, 2019 1 commit
  9. 05 Jun, 2019 1 commit
  10. 04 Jun, 2019 1 commit
  11. 03 Jun, 2019 1 commit
  12. 01 Jun, 2019 4 commits
  13. 31 May, 2019 1 commit
  14. 29 May, 2019 1 commit
    • Andras Spitzer's avatar
      Fix for #2842, instead of returning the first Pod, return the one whi… (#2846) · 7dde3f39
      Andras Spitzer authored
      * Fix for #2842, instead of returning the first Pod, return the one which is Running
      
      * a more memory efficient version of the fix, string -> bool
      
      * fix with no extra fields in struct, return nil at Pod conversion if Pod is not Running
      
      * let Kuberneretes filter for Running Pods using FieldSelector
      
      * filter for Pods that are Running and Pending (implicit)
      7dde3f39
  15. 28 May, 2019 1 commit
  16. 27 May, 2019 4 commits
  17. 24 May, 2019 1 commit
  18. 19 May, 2019 1 commit
    • Miek Gieben's avatar
      plugin/metrcs: fix datarace on listeners (#2835) · 118b0c94
      Miek Gieben authored
      This fixes a data race on the listener(s) that get started in the
      metrics plugins.
      
      It also restore pkg/uniq to its former glory and removes and state being
      carried in there; this means for metrics that registry.go was to
      replicate that behavior *with* locking (as pkg/uniq doesn't do, or need
      that).
      
      Also renamed uniqAddr to just u, to make it slightly shorter.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      118b0c94
  19. 18 May, 2019 1 commit
  20. 13 May, 2019 1 commit
    • Miek Gieben's avatar
      plugin/metrics: fix failed reload (#2816) · 2ef55f80
      Miek Gieben authored
      Fix metrics endpoint on a failed reload, follows the same lines as the
      previous PRs, see for e.g. 076b8d4f. Test with a Corefile with 2 server
      blocks and metrics enabled and then introducing a syntax error:
      
      ~~~
      [ERROR] Restart failed: Corefile:5 - Error during parsing: Unknown directive 'jfkdjk'
      [ERROR] SIGUSR1: starting with listener file descriptors: Corefile:5 - Error during parsing: Unknown directive 'jfkdjk'
      ~~~
      
      And then curl-ing the metrics endpoint.
      
      See #2659 and as this is the last one.
      
      Fixes: #2659
      
      Getting this all right turns out to be tricky, also it's not easy
      testable which is something I should fix.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      2ef55f80
  21. 08 May, 2019 1 commit
  22. 06 May, 2019 3 commits
  23. 05 May, 2019 2 commits
    • Miek Gieben's avatar
      plugin/health: add OnRestartFailed (#2812) · 076b8d4f
      Miek Gieben authored
      Add OnReStartFailed which makes the health plugin stay up if the
      Corefile is corrupt and we revert to the previous version.
      
      Also needs a fix for the channel handling
      
      See #2659
      
      Testing it will log the following when restarting with a corrupted
      Corefile
      
      ~~~
      2019-05-04T18:01:59.431Z [INFO] linux/amd64, go1.12.4,
      CoreDNS-1.5.0
      linux/amd64, go1.12.4,
      [INFO] SIGUSR1: Reloading
      [INFO] Reloading
      [ERROR] Restart failed: Corefile:5 - Error during parsing: Unknown directive 'bdhfhdhj'
      [ERROR] SIGUSR1: starting with listener file descriptors: Corefile:5 - Error during parsing: Unknown directive 'bdhfhdhj'
      ~~~
      
      After which the curl still works.
      
      This also needed a change to reset the channel used for the metrics
      go-routine which gets closed on shutdown, otherwise you'll see:
      
      ~~~
      ^C[INFO] SIGINT: Shutting down
      panic: close of closed channel
      
      goroutine 90 [running]:
      github.com/coredns/coredns/plugin/health.(*health).OnFinalShutdown(0xc000089bc0, 0xc000063d88, 0x4afe6d)
      ~~~
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      076b8d4f
    • Miek Gieben's avatar
      plugin/health: cleanups (#2811) · 890cdb5c
      Miek Gieben authored
      Small, trivial cleanup: got triggered because I saw a comment on how
      health plugins polls other plugins which isn't true.
      
      * Remove useless newHealth function
      * healthParse -> parse
      * Remove useless constants
      
      Net deletion of code.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      890cdb5c