feat: return hostname suffix on AgentConnectionInfo (#17334)

Adds the Hostname Suffix to `AgentConnectionInfo` --- the VPN provider will use it to control the suffix for DNS hostnames.

part of: #16828
This commit is contained in:
Spike Curtis
2025-04-11 13:09:51 +04:00
committed by GitHub
parent 60fbe675ed
commit 12dc086628
7 changed files with 45 additions and 2 deletions
+2 -1
View File
@@ -698,7 +698,8 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/{workspaceagent}/con
}
}
},
"disable_direct_connections": true
"disable_direct_connections": true,
"hostname_suffix": "string"
}
```
+3 -1
View File
@@ -11514,7 +11514,8 @@ None
}
}
},
"disable_direct_connections": true
"disable_direct_connections": true,
"hostname_suffix": "string"
}
```
@@ -11525,6 +11526,7 @@ None
| `derp_force_websockets` | boolean | false | | |
| `derp_map` | [tailcfg.DERPMap](#tailcfgderpmap) | false | | |
| `disable_direct_connections` | boolean | false | | |
| `hostname_suffix` | string | false | | |
## wsproxysdk.CryptoKeysResponse