Add webhookUrl env parameter

Environment variable 'EVENT_WEBHOOK_URL' can be used to override/set eventWebhook argument that serves as default value
This commit is contained in:
Florian Heubeck
2020-02-10 18:31:08 +01:00
parent 3cfb1fbb65
commit 4e8b7d4cb4
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ func main() {
observerFactory,
meshProvider,
version.VERSION,
eventWebhook,
fromEnv("EVENT_WEBHOOK_URL", eventWebhook),
)
// leader election context