mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: switch to new wgtunnel via tunnelsdk (#6489)
This commit is contained in:
@@ -161,6 +161,7 @@ type DeploymentValues struct {
|
||||
Support SupportConfig `json:"support,omitempty" typescript:",notnull"`
|
||||
GitAuthProviders clibase.Struct[[]GitAuthConfig] `json:"git_auth,omitempty" typescript:",notnull"`
|
||||
SSHConfig SSHConfig `json:"config_ssh,omitempty" typescript:",notnull"`
|
||||
WgtunnelHost clibase.String `json:"wgtunnel_host,omitempty" typescript:",notnull"`
|
||||
|
||||
Config clibase.String `json:"config,omitempty" typescript:",notnull"`
|
||||
WriteConfig clibase.Bool `json:"write_config,omitempty" typescript:",notnull"`
|
||||
@@ -1363,6 +1364,16 @@ Write out the current server configuration to the path specified by --config.`,
|
||||
Value: &c.GitAuthProviders,
|
||||
Hidden: true,
|
||||
},
|
||||
{
|
||||
Name: "Custom wgtunnel Host",
|
||||
Description: `Hostname of HTTPS server that runs https://github.com/coder/wgtunnel. By default, this will pick the best available wgtunnel server hosted by Coder. e.g. "tunnel.example.com".`,
|
||||
Flag: "wg-tunnel-host",
|
||||
Env: "WGTUNNEL_HOST",
|
||||
YAML: "wgtunnelHost",
|
||||
Value: &c.WgtunnelHost,
|
||||
Default: "", // empty string means pick best server
|
||||
Hidden: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user