aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/kubernetes.go
diff options
context:
space:
mode:
authorGravatar Matt Kulka <mattlqx@users.noreply.github.com> 2020-10-24 05:37:01 -0700
committerGravatar GitHub <noreply@github.com> 2020-10-24 14:37:01 +0200
commit3168a722cac244c91fc56e3a4d1d3d7fd48f0dd2 (patch)
tree0603f78383a7b7816935ed9590949ade23a29527 /plugin/kubernetes/kubernetes.go
parent054c9ae1fbea39d586652664fbc9a5cedbd97618 (diff)
downloadcoredns-3168a722cac244c91fc56e3a4d1d3d7fd48f0dd2.tar.gz
coredns-3168a722cac244c91fc56e3a4d1d3d7fd48f0dd2.tar.zst
coredns-3168a722cac244c91fc56e3a4d1d3d7fd48f0dd2.zip
Use cancelable contexts for cloud provider plugin refreshes (#4226)
This commit uses a cancelable context to spawn goroutines that refresh records from a cloud DNS provider. The Caddy shutdown routine uses the returned cancel function to terminate existing goroutines when a USR1 reload signal is received. Signed-off-by: Matt Kulka <mkulka@parchment.com>
Diffstat (limited to 'plugin/kubernetes/kubernetes.go')
0 files changed, 0 insertions, 0 deletions