mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 15:00:51 +02:00
use centralized api
This commit is contained in:
parent
e4c1da1627
commit
a2a8c04740
4 changed files with 17 additions and 15 deletions
|
@ -73,7 +73,7 @@ func newControllerConfig(opts ...Option) *controllerConfig {
|
|||
WithClusterAPIEndpoint("https://console.pomerium.com/cluster/v1"),
|
||||
WithConnectAPIEndpoint("https://connect.pomerium.com"),
|
||||
WithBootstrapConfigFileName("/var/cache/pomerium-bootstrap.dat"),
|
||||
WithDatabrokerLeaseDuration(time.Minute),
|
||||
WithDatabrokerLeaseDuration(time.Second * 30),
|
||||
WithDatabrokerRequestTimeout(time.Second * 30),
|
||||
} {
|
||||
opt(c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue