zero: use os.UserCacheDir for boostrap config path (#4744)

This commit is contained in:
Kenneth Jenkins 2023-11-17 14:44:32 -08:00 committed by GitHub
parent 6810091d38
commit 14b13bb791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 1 deletions

View file

@ -72,7 +72,6 @@ func newControllerConfig(opts ...Option) *controllerConfig {
for _, opt := range []Option{
WithClusterAPIEndpoint("https://console.pomerium.com/cluster/v1"),
WithConnectAPIEndpoint("https://connect.pomerium.com"),
WithBootstrapConfigFileName("/var/cache/pomerium-bootstrap.dat"),
WithDatabrokerLeaseDuration(time.Second * 30),
WithDatabrokerRequestTimeout(time.Second * 30),
} {