feat: add CODER_WORKSPACE_HOSTNAME_SUFFIX (#17268)

Adds deployment option `CODER_WORKSPACE_HOSTNAME_SUFFIX`. This will eventually replace `CODER_SSH_HOSTNAME_PREFIX`, but we will do this slowly and support both for `coder ssh` for some time.

Note that the name is changed to "workspace" hostname, since this suffix will also be used for Coder Connect on Coder Desktop, which is not limited to SSH.
This commit is contained in:
Spike Curtis
2025-04-07 11:35:47 +04:00
committed by GitHub
parent 8f665e364a
commit 87d9ff0973
10 changed files with 52 additions and 4 deletions

3
coderd/apidoc/docs.go generated
View File

@ -12019,6 +12019,9 @@ const docTemplate = `{
"wildcard_access_url": {
"type": "string"
},
"workspace_hostname_suffix": {
"type": "string"
},
"write_config": {
"type": "boolean"
}