diff --git a/cli/testdata/server-config.yaml.golden b/cli/testdata/server-config.yaml.golden index 42cb3b2aeb497..d8a079f991984 100644 --- a/cli/testdata/server-config.yaml.golden +++ b/cli/testdata/server-config.yaml.golden @@ -552,7 +552,7 @@ notifications: webhook: # The endpoint to which to send webhooks. # (default: , type: url) - hello: + endpoint: # The upper limit of attempts to send a notification. # (default: 5, type: int) maxSendAttempts: 5 diff --git a/codersdk/deployment.go b/codersdk/deployment.go index 6a202674cde1d..c1a1e19e810b0 100644 --- a/codersdk/deployment.go +++ b/codersdk/deployment.go @@ -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", diff --git a/docs/cli/server.md b/docs/cli/server.md index c01f9c3b8c88c..e3c442626fcbe 100644 --- a/docs/cli/server.md +++ b/docs/cli/server.md @@ -1366,7 +1366,7 @@ Certificate key file to use. | ----------- | -------------------------------------------------- | | Type | url | | Environment | $CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT | -| YAML | notifications.webhook.hello | +| YAML | notifications.webhook.endpoint | The endpoint to which to send webhooks.