@@ -200,6 +200,7 @@ type DeploymentValues struct {
200
200
AllowWorkspaceRenames serpent.Bool `json:"allow_workspace_renames,omitempty" typescript:",notnull"`
201
201
Healthcheck HealthcheckConfig `json:"healthcheck,omitempty" typescript:",notnull"`
202
202
CLIUpgradeMessage serpent.String `json:"cli_upgrade_message,omitempty" typescript:",notnull"`
203
+ TermsOfServiceLink serpent.String `json:"terms_of_service_link,omitempty" typescript:",notnull"`
203
204
204
205
Config serpent.YAMLConfigPath `json:"config,omitempty" typescript:",notnull"`
205
206
WriteConfig serpent.Bool `json:"write_config,omitempty" typescript:",notnull"`
@@ -1683,6 +1684,14 @@ when required by your organization's security policy.`,
1683
1684
YAML : "secureAuthCookie" ,
1684
1685
Annotations : serpent.Annotations {}.Mark (annotationExternalProxies , "true" ),
1685
1686
},
1687
+ {
1688
+ Name : "Terms of Service Link" ,
1689
+ Description : "A link to an external Terms of Service that must be accepted by users when logging in." ,
1690
+ Flag : "terms-of-service-link" ,
1691
+ Env : "CODER_TERMS_OF_SERVICE_LINK" ,
1692
+ YAML : "termsOfServiceLink" ,
1693
+ Value : & c .TermsOfServiceLink ,
1694
+ },
1686
1695
{
1687
1696
Name : "Strict-Transport-Security" ,
1688
1697
Description : "Controls if the 'Strict-Transport-Security' header is set on all static file responses. " +
0 commit comments