@@ -394,31 +394,30 @@ func NewOptions(t testing.TB, options *Options) (func(http.Handler), context.Can
394
394
Pubsub : options .Pubsub ,
395
395
GitAuthConfigs : options .GitAuthConfigs ,
396
396
397
- Auditor : options .Auditor ,
398
- AWSCertificates : options .AWSCertificates ,
399
- AzureCertificates : options .AzureCertificates ,
400
- GithubOAuth2Config : options .GithubOAuth2Config ,
401
- RealIPConfig : options .RealIPConfig ,
402
- OIDCConfig : options .OIDCConfig ,
403
- GoogleTokenValidator : options .GoogleTokenValidator ,
404
- SSHKeygenAlgorithm : options .SSHKeygenAlgorithm ,
405
- DERPServer : derpServer ,
406
- APIRateLimit : options .APIRateLimit ,
407
- LoginRateLimit : options .LoginRateLimit ,
408
- FilesRateLimit : options .FilesRateLimit ,
409
- Authorizer : options .Authorizer ,
410
- Telemetry : telemetry .NewNoop (),
411
- TemplateScheduleStore : & templateScheduleStore ,
412
- TLSCertificates : options .TLSCertificates ,
413
- TrialGenerator : options .TrialGenerator ,
414
- TailnetCoordinator : options .Coordinator ,
415
- BaseDERPMap : derpMap ,
416
- DERPMapUpdateFrequency : 150 * time .Millisecond ,
417
- MetricsCacheRefreshInterval : options .MetricsCacheRefreshInterval ,
418
- AgentStatsRefreshInterval : options .AgentStatsRefreshInterval ,
419
- DeploymentValues : options .DeploymentValues ,
420
- // For tests, we don't have any `value_source` fields set.
421
- DeploymentOptions : options .DeploymentValues .Options (),
397
+ Auditor : options .Auditor ,
398
+ AWSCertificates : options .AWSCertificates ,
399
+ AzureCertificates : options .AzureCertificates ,
400
+ GithubOAuth2Config : options .GithubOAuth2Config ,
401
+ RealIPConfig : options .RealIPConfig ,
402
+ OIDCConfig : options .OIDCConfig ,
403
+ GoogleTokenValidator : options .GoogleTokenValidator ,
404
+ SSHKeygenAlgorithm : options .SSHKeygenAlgorithm ,
405
+ DERPServer : derpServer ,
406
+ APIRateLimit : options .APIRateLimit ,
407
+ LoginRateLimit : options .LoginRateLimit ,
408
+ FilesRateLimit : options .FilesRateLimit ,
409
+ Authorizer : options .Authorizer ,
410
+ Telemetry : telemetry .NewNoop (),
411
+ TemplateScheduleStore : & templateScheduleStore ,
412
+ TLSCertificates : options .TLSCertificates ,
413
+ TrialGenerator : options .TrialGenerator ,
414
+ TailnetCoordinator : options .Coordinator ,
415
+ BaseDERPMap : derpMap ,
416
+ DERPMapUpdateFrequency : 150 * time .Millisecond ,
417
+ MetricsCacheRefreshInterval : options .MetricsCacheRefreshInterval ,
418
+ AgentStatsRefreshInterval : options .AgentStatsRefreshInterval ,
419
+ DeploymentValues : options .DeploymentValues ,
420
+ DeploymentOptions : codersdk .DeploymentOptionsWithoutSecrets (options .DeploymentValues .Options ()),
422
421
UpdateCheckOptions : options .UpdateCheckOptions ,
423
422
SwaggerEndpoint : options .SwaggerEndpoint ,
424
423
AppSecurityKey : AppSecurityKey ,
0 commit comments