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

View File

@@ -62,6 +62,9 @@ helm upgrade -i flagger flagger/flagger \
--set eventWebhook=https://example.com/flagger-canary-event-webhook
```
The environment variable *EVENT_WEBHOOK_URL* can be used for activating the event-webhook, too.
This is handy for using a secret to store a sensible value that could contain api keys for example.
When configured, every action that Flagger takes during a canary deployment will be sent as JSON via an HTTP POST
request. The JSON payload has the following schema: