From 7c8659d756aa57903dcb9209b06646edaf8ca863 Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Mon, 17 Jun 2019 13:15:01 -0300 Subject: [PATCH] Add a configuration handle that receives the JSON file to be included on the URL callback. --- app/app.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/app.go b/app/app.go index 91a5adf..b5ec645 100644 --- a/app/app.go +++ b/app/app.go @@ -169,5 +169,10 @@ func SetupCliFlags(app *cli.App) { Usage: "URL to callback for out of band updating", EnvVar: "WATCHTOWER_URL_CALLBACK", }, + cli.BoolFlag{ + Name: "json-extra-url-callback", + Usage: "JSON file to be sent as extra data when using URL callback", + EnvVar: "WATCHTOWER_JSON_EXTRA_URL_CALLBACK", + }, } }