pomerium/config
Caleb Doxsey 5d60cff21e
databroker: refactor databroker to sync all changes (#1879)
* refactor backend, implement encrypted store

* refactor in-memory store

* wip

* wip

* wip

* add syncer test

* fix redis expiry

* fix linting issues

* fix test by skipping non-config records

* fix backoff import

* fix init issues

* fix query

* wait for initial sync before starting directory sync

* add type to SyncLatest

* add more log messages, fix deadlock in in-memory store, always return server version from SyncLatest

* update sync types and tests

* add redis tests

* skip macos in github actions

* add comments to proto

* split getBackend into separate methods

* handle errors in initVersion

* return different error for not found vs other errors in get

* use exponential backoff for redis transaction retry

* rename raw to result

* use context instead of close channel

* store type urls as constants in databroker

* use timestampb instead of ptypes

* fix group merging not waiting

* change locked names

* update GetAll to return latest record version

* add method to grpcutil to get the type url for a protobuf type
2021-02-18 15:24:33 -07:00
..
testdata config: additional kubernetes token source support (#1200) 2020-08-04 09:40:51 -04:00
autocert.go options refactor (#1088) 2020-07-16 14:30:15 -06:00
config.go autocert: store certificates separately from config certificates (#1794) 2021-01-21 13:13:55 -07:00
config_source.go config: add CertificateFiles to FileWatcherSource list (#1878) 2021-02-11 17:58:58 -05:00
config_source_test.go config: fix hot-reloading (#1820) 2021-01-25 12:20:41 -07:00
constants.go config: support map of jwt claim headers (#1906) 2021-02-17 13:43:18 -07:00
custom.go databroker: refactor databroker to sync all changes (#1879) 2021-02-18 15:24:33 -07:00
custom_test.go config: support map of jwt claim headers (#1906) 2021-02-17 13:43:18 -07:00
doc.go *: remove import path comments (#545) 2020-03-16 10:13:47 -07:00
helpers.go in-memory service registry (#1892) 2021-02-17 14:28:54 -05:00
helpers_test.go databroker: rename cache service (#1790) 2021-01-21 08:41:22 -07:00
http.go dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
http_test.go use custom default http transport (#1576) 2020-11-04 15:35:10 -07:00
log.go upstream endpoints load balancer weights (#1830) 2021-01-28 09:11:14 -05:00
metrics.go config: allow reloading of telemetry settings (#1255) 2020-08-12 08:14:15 -06:00
metrics_test.go config: allow reloading of telemetry settings (#1255) 2020-08-12 08:14:15 -06:00
options.go config: support map of jwt claim headers (#1906) 2021-02-17 13:43:18 -07:00
options_test.go config: allow customization of envoy boostrap admin options (#1872) 2021-02-09 11:29:58 -07:00
policy.go authorize: allow access by user id (#1850) 2021-02-03 07:15:44 -07:00
policy_test.go cluster name (#1834) 2021-01-29 16:55:38 -05:00
trace.go telemetry: add support for datadog tracing (#1743) 2021-01-06 12:27:23 -07:00
trace_test.go telemetry: add support for datadog tracing (#1743) 2021-01-06 12:27:23 -07:00
validate.go config: add dns_lookup_family option to customize DNS IP resolution (#1436) 2020-09-21 15:32:37 -06:00