Skip to content

Commit

Permalink
add secret watcher to re-render templates
Browse files Browse the repository at this point in the history
The Asterisk config is provided by a kubernetes secret. We are
adding support re-render the templates when a secret is updated.
This allow us to react much faster to configuration changes.

Closes CyCoreSystems#8.

Signed-off-by: Vinicius Ruoso <[email protected]>
  • Loading branch information
vkruoso committed Oct 14, 2020
1 parent 307317c commit 50bbb9f
Show file tree
Hide file tree
Showing 3 changed files with 651 additions and 35 deletions.
13 changes: 6 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module github.com/CyCoreSystems/asterisk-config

go 1.13

require (
github.com/CyCoreSystems/kubetemplate v0.2.0
github.com/CyCoreSystems/netdiscover v1.2.4
github.com/golang/protobuf v1.3.2 // indirect
github.com/CyCoreSystems/kubetemplate v0.5.0
github.com/CyCoreSystems/netdiscover v1.2.6
github.com/ericchiang/k8s v1.2.0
github.com/nats-io/nuid v1.0.1
github.com/pkg/errors v0.8.1
golang.org/x/net v0.0.0-20190923162816-aa69164e4478 // indirect
github.com/pkg/errors v0.9.1
)

go 1.13
Loading

0 comments on commit 50bbb9f

Please sign in to comment.