Skip to content

Commit c6f8b22

Browse files
committed
add secret watcher to re-render templates
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 #8. Signed-off-by: Vinicius Ruoso <[email protected]>
1 parent 307317c commit c6f8b22

File tree

3 files changed

+673
-40
lines changed

3 files changed

+673
-40
lines changed

go.mod

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
module github.com/CyCoreSystems/asterisk-config
22

3+
go 1.13
4+
35
require (
4-
github.com/CyCoreSystems/kubetemplate v0.2.0
5-
github.com/CyCoreSystems/netdiscover v1.2.4
6-
github.com/golang/protobuf v1.3.2 // indirect
6+
github.com/CyCoreSystems/kubetemplate v0.5.0
7+
github.com/CyCoreSystems/netdiscover v1.2.6
8+
github.com/ericchiang/k8s v1.2.0
79
github.com/nats-io/nuid v1.0.1
8-
github.com/pkg/errors v0.8.1
9-
golang.org/x/net v0.0.0-20190923162816-aa69164e4478 // indirect
10+
github.com/pkg/errors v0.9.1
1011
)
11-
12-
go 1.13

0 commit comments

Comments
 (0)