mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
fix: webhook endpoint YAML attribute (#13983)
Signed-off-by: Danny Kopping <danny@coder.com>
This commit is contained in:
2
cli/testdata/server-config.yaml.golden
vendored
2
cli/testdata/server-config.yaml.golden
vendored
@ -552,7 +552,7 @@ notifications:
|
||||
webhook:
|
||||
# The endpoint to which to send webhooks.
|
||||
# (default: <unset>, type: url)
|
||||
hello:
|
||||
endpoint:
|
||||
# The upper limit of attempts to send a notification.
|
||||
# (default: 5, type: int)
|
||||
maxSendAttempts: 5
|
||||
|
@ -2300,7 +2300,7 @@ Write out the current server config as YAML to stdout.`,
|
||||
Env: "CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT",
|
||||
Value: &c.Notifications.Webhook.Endpoint,
|
||||
Group: &deploymentGroupNotificationsWebhook,
|
||||
YAML: "hello",
|
||||
YAML: "endpoint",
|
||||
},
|
||||
{
|
||||
Name: "Notifications: Max Send Attempts",
|
||||
|
2
docs/cli/server.md
generated
2
docs/cli/server.md
generated
@ -1366,7 +1366,7 @@ Certificate key file to use.
|
||||
| ----------- | -------------------------------------------------- |
|
||||
| Type | <code>url</code> |
|
||||
| Environment | <code>$CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT</code> |
|
||||
| YAML | <code>notifications.webhook.hello</code> |
|
||||
| YAML | <code>notifications.webhook.endpoint</code> |
|
||||
|
||||
The endpoint to which to send webhooks.
|
||||
|
||||
|
Reference in New Issue
Block a user