mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add host suffix to /api/v2/deployment/ssh (#17269)
Adds `HostnameSuffix` to ssh config API and deprecates `HostnamePrefix`. We will still support setting and using the prefix for some time.
This commit is contained in:
Generated
+5
@@ -14754,6 +14754,11 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hostname_prefix": {
|
||||
"description": "HostnamePrefix is the prefix we append to workspace names for SSH hostnames.\nDeprecated: use HostnameSuffix instead.",
|
||||
"type": "string"
|
||||
},
|
||||
"hostname_suffix": {
|
||||
"description": "HostnameSuffix is the suffix to append to workspace names for SSH hostnames.",
|
||||
"type": "string"
|
||||
},
|
||||
"ssh_config_options": {
|
||||
|
||||
Generated
+5
@@ -13384,6 +13384,11 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hostname_prefix": {
|
||||
"description": "HostnamePrefix is the prefix we append to workspace names for SSH hostnames.\nDeprecated: use HostnameSuffix instead.",
|
||||
"type": "string"
|
||||
},
|
||||
"hostname_suffix": {
|
||||
"description": "HostnameSuffix is the suffix to append to workspace names for SSH hostnames.",
|
||||
"type": "string"
|
||||
},
|
||||
"ssh_config_options": {
|
||||
|
||||
Reference in New Issue
Block a user