mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat!: allow disabling notifications (#15509)
Resolves https://github.com/coder/coder/issues/15513 Disables notifications when both `$CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT` and `$CODER_EMAIL_SMARTHOST` are unset. Breaking change: `$CODER_EMAIL_SMARTHOST` is no longer set by default as `localhost:587`, meaning any deployments that make use of this default value will need to add it back. --------- Co-authored-by: Danny Kopping <danny@coder.com> Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
This commit is contained in:
6
coderd/apidoc/docs.go
generated
6
coderd/apidoc/docs.go
generated
@ -11553,11 +11553,7 @@ const docTemplate = `{
|
||||
},
|
||||
"smarthost": {
|
||||
"description": "The intermediary SMTP host through which emails are sent (host:port).",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/serpent.HostPort"
|
||||
}
|
||||
]
|
||||
"type": "string"
|
||||
},
|
||||
"tls": {
|
||||
"description": "TLS details.",
|
||||
|
Reference in New Issue
Block a user