mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-25 22:18:23 +02:00
databroker: add support for config settings (#1253)
This commit is contained in:
parent
ab39b628c5
commit
1285a9d91d
11 changed files with 1333 additions and 132 deletions
|
@ -91,6 +91,8 @@ func (src *ConfigSource) rebuild(firstTime bool) {
|
|||
|
||||
// add all the config policies to the list
|
||||
for _, cfgpb := range src.dbConfigs {
|
||||
cfg.Options.ApplySettings(cfgpb.Settings)
|
||||
|
||||
for _, routepb := range cfgpb.GetRoutes() {
|
||||
policy, err := config.NewPolicyFromProto(routepb)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue